mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-29 02:30:03 +00:00
35 lines
663 B
JavaScript
35 lines
663 B
JavaScript
/**
|
|
* @ngdoc directive
|
|
* @name superProductivity.directive:miscSettings
|
|
* @description
|
|
* # miscSettings
|
|
*/
|
|
|
|
(function () {
|
|
'use strict';
|
|
|
|
angular
|
|
.module('superProductivity')
|
|
.directive('miscSettings', miscSettings);
|
|
|
|
/* @ngInject */
|
|
function miscSettings() {
|
|
return {
|
|
templateUrl: 'scripts/settings/misc-settings/misc-settings-d.html',
|
|
bindToController: true,
|
|
controller: MiscSettingsCtrl,
|
|
controllerAs: 'vm',
|
|
restrict: 'E',
|
|
scope: {
|
|
settings: '='
|
|
}
|
|
};
|
|
}
|
|
|
|
/* @ngInject */
|
|
function MiscSettingsCtrl(IS_ELECTRON) {
|
|
let vm = this;
|
|
vm.IS_ELECTRON = IS_ELECTRON;
|
|
}
|
|
|
|
})();
|