pull/527/merge
Mohan Sharma 2024-01-01 11:20:36 +00:00 committed by GitHub
commit 9b15d7a063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10493 additions and 5 deletions

8
.deepsource.toml Normal file
View File

@ -0,0 +1,8 @@
version = 1
[[analyzers]]
name = "javascript"
[analyzers.meta]
plugins = ["angularjs"]
environment = ["nodejs"]

View File

@ -31,11 +31,11 @@
"angular-toastr": "~2.1.1",
"angular-touch": "~1.5.8",
"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-select": "~1.12.1",
"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",
"fullcalendar": "~3.0.1",
"highlight": "~8.8.0",

8
deepsource.toml Normal file
View File

@ -0,0 +1,8 @@
version = 1
[[analyzers]]
name = "javascript"
[analyzers.meta]
plugins = ["angularjs"]
environment = ["nodejs"]

10472
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -56,7 +56,7 @@
return result;
function _iterateSubItems(currentItem) {
currentItem.subMenu && currentItem.subMenu.forEach(function(subItem) {
currentItem.subMenu?.forEach(function(subItem) {
subItem.stateRef && result.push(subItem.stateRef);
_iterateSubItems(subItem);
});

View File

@ -57,7 +57,7 @@
function BaSidebarTogglingItemCtrl($scope, $element, $attrs, $state, baSidebarService) {
var vm = this;
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.$$collapseSubmenu = function() { console.warn('$$collapseSubmenu should be overwritten by baUiSrefTogglingSubmenu') };

View File

@ -38,7 +38,7 @@
}
function submit() {
$scope.form && $scope.form.$setSubmitted(true);
$scope.form?.$setSubmitted(true);
}
function isComplete() {