Merge 115925b42b
into 7f2596f4ab
commit
9b15d7a063
|
@ -0,0 +1,8 @@
|
||||||
|
version = 1
|
||||||
|
|
||||||
|
[[analyzers]]
|
||||||
|
name = "javascript"
|
||||||
|
|
||||||
|
[analyzers.meta]
|
||||||
|
plugins = ["angularjs"]
|
||||||
|
environment = ["nodejs"]
|
|
@ -31,11 +31,11 @@
|
||||||
"angular-toastr": "~2.1.1",
|
"angular-toastr": "~2.1.1",
|
||||||
"angular-touch": "~1.5.8",
|
"angular-touch": "~1.5.8",
|
||||||
"angular-ui-sortable": "~0.15.0",
|
"angular-ui-sortable": "~0.15.0",
|
||||||
"animate.css": "~3.5.2",
|
"animate.css": "https://github.com/animate-css/animate.css.git#~3.5.2",
|
||||||
"bootstrap": "~3.3.5",
|
"bootstrap": "~3.3.5",
|
||||||
"bootstrap-select": "~1.12.1",
|
"bootstrap-select": "~1.12.1",
|
||||||
"bootstrap-switch": "~3.3.2",
|
"bootstrap-switch": "~3.3.2",
|
||||||
"bootstrap-tagsinput": "~0.7.1",
|
"bootstrap-tagsinput": "https://github.com/bootstrap-tagsinput/bootstrap-tagsinput.git#~0.7.1",
|
||||||
"font-awesome": "fontawesome#~4.4.0",
|
"font-awesome": "fontawesome#~4.4.0",
|
||||||
"fullcalendar": "~3.0.1",
|
"fullcalendar": "~3.0.1",
|
||||||
"highlight": "~8.8.0",
|
"highlight": "~8.8.0",
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
version = 1
|
||||||
|
|
||||||
|
[[analyzers]]
|
||||||
|
name = "javascript"
|
||||||
|
|
||||||
|
[analyzers.meta]
|
||||||
|
plugins = ["angularjs"]
|
||||||
|
environment = ["nodejs"]
|
File diff suppressed because it is too large
Load Diff
|
@ -56,7 +56,7 @@
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
function _iterateSubItems(currentItem) {
|
function _iterateSubItems(currentItem) {
|
||||||
currentItem.subMenu && currentItem.subMenu.forEach(function(subItem) {
|
currentItem.subMenu?.forEach(function(subItem) {
|
||||||
subItem.stateRef && result.push(subItem.stateRef);
|
subItem.stateRef && result.push(subItem.stateRef);
|
||||||
_iterateSubItems(subItem);
|
_iterateSubItems(subItem);
|
||||||
});
|
});
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
function BaSidebarTogglingItemCtrl($scope, $element, $attrs, $state, baSidebarService) {
|
function BaSidebarTogglingItemCtrl($scope, $element, $attrs, $state, baSidebarService) {
|
||||||
var vm = this;
|
var vm = this;
|
||||||
var menuItem = vm.$$menuItem = $scope.$eval($attrs.baSidebarTogglingItem);
|
var menuItem = vm.$$menuItem = $scope.$eval($attrs.baSidebarTogglingItem);
|
||||||
if (menuItem && menuItem.subMenu && menuItem.subMenu.length) {
|
if (menuItem?.subMenu && menuItem.subMenu.length) {
|
||||||
vm.$$expandSubmenu = function() { console.warn('$$expandMenu should be overwritten by baUiSrefTogglingSubmenu') };
|
vm.$$expandSubmenu = function() { console.warn('$$expandMenu should be overwritten by baUiSrefTogglingSubmenu') };
|
||||||
vm.$$collapseSubmenu = function() { console.warn('$$collapseSubmenu should be overwritten by baUiSrefTogglingSubmenu') };
|
vm.$$collapseSubmenu = function() { console.warn('$$collapseSubmenu should be overwritten by baUiSrefTogglingSubmenu') };
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function submit() {
|
function submit() {
|
||||||
$scope.form && $scope.form.$setSubmitted(true);
|
$scope.form?.$setSubmitted(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
function isComplete() {
|
function isComplete() {
|
||||||
|
|
Loading…
Reference in New Issue