mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 15:18:12 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -29,11 +29,14 @@ define(
|
||||
/**
|
||||
* Controller for embedded web pages; serves simply as a
|
||||
* wrapper for `$sce` to mark pages as trusted.
|
||||
* @constructor
|
||||
* @memberof platform/features/pages
|
||||
*/
|
||||
function EmbeddedPageController($sce) {
|
||||
return {
|
||||
/**
|
||||
* Alias of `$sce.trustAsResourceUrl`.
|
||||
* @memberof platform/features/pages.EmbeddedPageController#
|
||||
*/
|
||||
trust: function (url) {
|
||||
return $sce.trustAsResourceUrl(url);
|
||||
@ -44,4 +47,4 @@ define(
|
||||
return EmbeddedPageController;
|
||||
}
|
||||
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user