Jump to content

User:Chonx/common.js: Difference between revisions

From EverQuest Legends Wiki
Chonx (talk | contribs)
Replaced content with "/* ============================================================ This is ALL that goes in User:Chonx/common.js ------------------------------------------------------------ It loads the real module RAW (action=raw = NOT minified), which avoids the ResourceLoader minifier that breaks the pasted-inline version. Bonus: to iterate you now only edit the module page and hard-refresh — no re-pasting this loader. Put the full ext.itemScoreTable.js cont..."
Tag: Replaced
Chonx (talk | contribs)
No edit summary
 
Line 1: Line 1:
/* ============================================================
window.CHONX_CJS_RAN = true;
  This is ALL that goes in  User:Chonx/common.js
mw.loader.load( mw.config.get( 'wgScript' ) + '?title=User:Chonx/eqlItemScore.js&action=raw&ctype=text/javascript' );
  ------------------------------------------------------------
  It loads the real module RAW (action=raw = NOT minified), which
  avoids the ResourceLoader minifier that breaks the pasted-inline
  version. Bonus: to iterate you now only edit the module page and
  hard-refresh — no re-pasting this loader.
 
  Put the full ext.itemScoreTable.js contents in:
    User:Chonx/eqlItemScore.js
  ============================================================ */
mw.loader.load(
mw.config.get( 'wgScript' ) +
'?title=User:Chonx/eqlItemScore.js&action=raw&ctype=text/javascript'
);

Latest revision as of 21:35, 23 July 2026

window.CHONX_CJS_RAN = true;
mw.loader.load( mw.config.get( 'wgScript' ) + '?title=User:Chonx/eqlItemScore.js&action=raw&ctype=text/javascript' );