Upgrade angular to 1.7.2.

This commit is contained in:
FelisCatus 2018-06-12 19:59:49 -07:00
parent 523645f339
commit cfa9e3123d
2 changed files with 9 additions and 6 deletions

View File

@ -21,12 +21,14 @@
"tests"
],
"dependencies": {
"angular": "~1.6.9",
"angular": "~1.7.2",
"angular-animate": "~1.7.2",
"angular-loader": "~1.7.2",
"angular-i18n": "~1.7.2",
"angular-sanitize": "~1.7.2",
"angular-bootstrap": "~0.12.0",
"angular-animate": "~1.6.9",
"angular-ui-router": "~0.2.18",
"angular-loader": "~1.6.9",
"angular-i18n": "~1.6.9",
"bootstrap": "~3.3.2",
"script.js": "~2.5.3",
"ngprogress": "~1.0.4",
@ -37,7 +39,6 @@
"FileSaver": "*",
"angular-ui-utils": "bower-validate",
"angular-ladda": "~0.2.1",
"angular-sanitize": "~1.6.9",
"shepherd.js": "~0.5.1",
"jqueryui-touch-punch": "*"
},
@ -126,6 +127,6 @@
}
},
"resolutions": {
"angular": "~1.6.9"
"angular": "~1.7.2"
}
}

View File

@ -33,6 +33,8 @@ angular.module('omega').config ($stateProvider, $urlRouterProvider,
$httpProvider, $animateProvider, $compileProvider) ->
$compileProvider.aHrefSanitizationWhitelist(
/^\s*(https?|ftp|mailto|chrome-extension):/)
$compileProvider.imgSrcSanitizationWhitelist(
/^\s*(https?|local|data|chrome-extension):/)
$animateProvider.classNameFilter(/angular-animate/)
$urlRouterProvider.otherwise '/about'