text: // Generated by CoffeeScript 1.8.0
  
  /*
  CC JS Helpers
  
  Copyright (c) 2015 Scott Yang
  
  Dependencies:
  CC Core (cc.core.js)
  jQuery (Ver 1.11+)
   */
  
  (function() {
    (function(global) {
      "use strict";
  
      /*
      	Verify that CSS file is loaded and alternatively load from local source
      
      	@param {String} filename File name of remotely loaded CSS
         @param {String} localpath Local path of css file
      
      	Example:
      	CC = new CarCrashSingletonClass({foo: 'bar'})
      	CC.verifyCssRequire('some.css.file.css', '/vendor/somewhere/some.css.file.css')
       */
      global.CarCrashSingletonClass.prototype.verifyCssRequire = function(filename, localpath) {
        $.each(document.styleSheets, function(i, sheet) {
          var rules;
          if (sheet.href.substring(0 - filename.length) === filename) {
            rules = (sheet.rules ? sheet.rules : sheet.cssRules);
            if (rules.length === 0) {
              $("<link />").attr({
                rel: "stylesheet",
                type: "text/css",
                href: localpath
              }).appendTo("head");
            }
          }
        });
      };
    })(window);
  
  }).call(this);
  
  //# sourceMappingURL=cc.helpers.js.map
  