mirror of
https://github.com/nasa/openmct.git
synced 2025-05-09 12:03:21 +00:00
[Representation] Add JSDoc
This commit is contained in:
parent
d5f1d45759
commit
a38d4829eb
@ -46,6 +46,14 @@ define(
|
|||||||
this.$log = $log;
|
this.$log = $log;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load a template from the given URL. This request will be handled
|
||||||
|
* via `$templateRequest` to ensure caching et cetera.
|
||||||
|
* @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) {
|
TemplateLinker.prototype.load = function (templateUrl) {
|
||||||
return this.$templateRequest(
|
return this.$templateRequest(
|
||||||
this.$sce.trustAsResourceUrl(templateUrl),
|
this.$sce.trustAsResourceUrl(templateUrl),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user