Bones/node_modules/browser-sync-ui/lib/plugins/help/help.client.js

25 lines
495 B
JavaScript
Raw Normal View History

2017-05-17 13:45:25 -04: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);