src/aria/core/DownloadMgr.js
function (logicalPath, content, hasErrors) {
            var itm = this._cache.getItem("files", logicalPath, true);
            if (hasErrors) {
                itm.status = this._cache.STATUS_ERROR;
            } else {
                itm.value = content;
                itm.status = this._cache.STATUS_AVAILABLE;
            }
            if (this.lastLoadedFiles) {
                this.lastLoadedFiles[logicalPath] = 1;
            }
        }
function (logicalPath, content, hasErrors) {
            var itm = this._cache.getItem("files", logicalPath, true);
            if (hasErrors) {
                itm.status = this._cache.STATUS_ERROR;
            } else {
                itm.value = content;
                itm.status = this._cache.STATUS_AVAILABLE;
            }
            if (this.lastLoadedFiles) {
                this.lastLoadedFiles[logicalPath] = 1;
            }
        }
function ( logicalPath , content , hasErrors ) { var itm = this . _cache . getItem ( "files" , logicalPath , true ) ; if ( hasErrors ) { itm . status = this . _cache . STATUS_ERROR ; } else { itm . value = content ; itm . status = this . _cache . STATUS_AVAILABLE ; } if ( this . lastLoadedFiles ) { this . lastLoadedFiles [ logicalPath ] = 1 ; } }
Function called by a file loader when a file content has been retrieved
@param {String} logicalPath the logical path of the file
@param {String} content the file content
Function called by a file loader when a file content has been retrieved