Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 98 → Rev 87

/wp-js-syntax-highlighter/trunk/full-js/loader.js
23,7 → 23,8
false, // Collapse all
1, // First line
false // Show columns
],
]
,
WAIT_TO_LOAD: 200, // (ms) Period to wait between checks for language loading
FAIL_TIMEOUT: 120000, // (ms) After this period will stop trying to load languages
 
48,9 → 49,8
// Note inside of this function 'this' is 'window'
window.onload = function() {
if (!base2 || !base2.DOM) { return; }
oldOnLoad();
if (!base2 || !base2.DOM) { return; }
if (!dp || !dp.SyntaxHighlighter) { return; }
 
self.prepareCodeBlocks_();
self.autoLoadLanguages_();