Newer
Older
vmk-demo-bot / admin / node_modules / browser-sync-ui / lib / plugins / help / help.client.js
@eugene-sukhodolskiy eugene-sukhodolskiy 19 days ago 495 bytes init
(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);