*/
WebInspector.DocumentationCatalog = function()
{
- /** @type {!StringMap.<!Array.<!WebInspector.DocumentationCatalog.ItemDescriptor>>} */
- this._articleList = new StringMap();
+ /** @type {!Map.<string, !Array.<!WebInspector.DocumentationCatalog.ItemDescriptor>>} */
+ this._articleList = new Map();
this._loader = new WebInspector.DocumentationCatalog.Loader(this);
}
this._state = WebInspector.DocumentationCatalog.Loader.DownloadStates.InProgress;
var url = String.sprintf(WebInspector.DocumentationCatalog._articleListURLFormat, this._section);
var boundReset = this._resetDownload.bind(this);
- loadXHR(url).then(this._processData.bind(this), boundReset).catch(boundReset);
+ loadXHR(url).then(this._processData.bind(this)).catch(boundReset);
},
/**
WebInspector.console.error("Documentation article list download failed");
this._state = WebInspector.DocumentationCatalog.Loader.DownloadStates.Failed;
}
-}
\ No newline at end of file
+}