tinymce.full.js
function waitForGeckoLinkLoaded() {
          wait(function () {
            try {
              // Accessing the cssRules will throw an exception until the CSS file is loaded
              var cssRules = style.sheet.cssRules;
              passed();
              return !!cssRules;
            } catch (ex) {
              // Ignore
            }
          }, waitForGeckoLinkLoaded);
        }
function waitForGeckoLinkLoaded() {
          wait(function () {
            try {
              // Accessing the cssRules will throw an exception until the CSS file is loaded
              var cssRules = style.sheet.cssRules;
              passed();
              return !!cssRules;
            } catch (ex) {
              // Ignore
            }
          }, waitForGeckoLinkLoaded);
        }
function waitForGeckoLinkLoaded ( ) { wait ( function ( ) { try { // Accessing the cssRules will throw an exception until the CSS file is loaded var cssRules = style . sheet . cssRules ; passed ( ) ; return ! ! cssRules ; } catch ( ex ) { // Ignore } } , waitForGeckoLinkLoaded ) ; }
Workaround for older Geckos that doesn't have any onload event for StyleSheets
Workaround for older Geckos that doesn t have any onload event for StyleSheets