work.suroh.tk/node_modules/browser-sync-ui/lib/plugins/help/help.client.js

25 lines
495 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
(function (angular) {
const SECTION_NAME = "history";
angular
.module("BrowserSync")
.controller("HelpAboutController", [
"options",
"pagesConfig",
helpAboutController
]);
/**
* @param options
* @param pagesConfig
*/
function helpAboutController(options, pagesConfig) {
var ctrl = this;
ctrl.options = options.bs;
ctrl.section = pagesConfig[SECTION_NAME];
}
})(angular);