docs: function recordLoaded (resource) {
          var needCache = resource;
          if(typeof needCache === "string") {
              needCache = [needCache];
          }
  
          for (var i = 0; i < needCache.length; i++) {
              loadedResource[resource[i]] = LOADED;
          };
  
      }