[Representation] Prefetch templates

...to ensure that dialogs et al can be displayed, even
after loss of network connectivity.

https://github.com/nasa/openmctweb/issues/383
This commit is contained in:
Victor Woeltjen
2015-12-08 12:53:33 -08:00
parent ed7e0d8b0a
commit 3498b0a50a
3 changed files with 62 additions and 1 deletions

View File

@ -54,7 +54,6 @@ define(
* @param {string} the URL for the template
* @returns {Promise.<string>} a promise for the HTML content of
* the template
* @private
*/
TemplateLinker.prototype.load = function (templateUrl) {
return this.$templateRequest(