summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeccabroek <beccabroek@gmail.com>2019-01-23 14:03:20 -0600
committerEd Tanous <ed.tanous@intel.com>2019-01-29 18:20:42 +0000
commita3b397d7f7d2460c33bf369a344522e4d7f4d463 (patch)
treec19942c44ec54c1f0c65288f173254c683d845e0
parent859f502d5402fcf29e1bf4f637a3545bf5b62036 (diff)
downloadphosphor-webui-a3b397d7f7d2460c33bf369a344522e4d7f4d463.tar.gz
phosphor-webui-a3b397d7f7d2460c33bf369a344522e4d7f4d463.zip
Add ngMessages
Brings in the angular ngMessages directive to be used for form validation. Adds 1.057KB to finished javascript package Change-Id: I367672c4871040e92cd530abb6f23a5f86912f5f Signed-off-by: beccabroek <beccabroek@gmail.com>
-rw-r--r--app/index.js3
-rw-r--r--package-lock.json5
-rw-r--r--package.json1
3 files changed, 8 insertions, 1 deletions
diff --git a/app/index.js b/app/index.js
index 5e00f63..37e27c1 100644
--- a/app/index.js
+++ b/app/index.js
@@ -13,6 +13,7 @@ import angular from 'angular';
import angular_animate from 'angular-animate';
import angular_clipboard from 'angular-clipboard';
import angular_cookies from 'angular-cookies';
+import angular_messages from 'angular-messages';
import angular_route from 'angular-route';
import angular_sanitize from 'angular-sanitize';
import angular_ui_bootstrap from 'angular-ui-bootstrap';
@@ -92,7 +93,7 @@ window.angular && (function(angular) {
[
// Dependencies
'ngRoute', 'angular-clipboard', 'ngToast', 'ngAnimate',
- 'app.common.directives.dirPagination', 'ngSanitize',
+ 'ngMessages', 'app.common.directives.dirPagination', 'ngSanitize',
// Basic resources
'app.common.services', 'app.common.directives',
'app.common.filters',
diff --git a/package-lock.json b/package-lock.json
index 9b131a1..0198270 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1072,6 +1072,11 @@
"resolved": "https://registry.npmjs.org/angular-cookies/-/angular-cookies-1.7.5.tgz",
"integrity": "sha512-/8xvvSl/Z9Vwu8ChRm+OQE3vmli8Icwl8uTYkHqD7j7cknJP9kNaf7SgsENlsLVtOqLE/I7TCFYrSx3bmSeNQA=="
},
+ "angular-messages": {
+ "version": "1.7.6",
+ "resolved": "https://registry.npmjs.org/angular-messages/-/angular-messages-1.7.6.tgz",
+ "integrity": "sha512-ch+J1SjK3gbfc7N6epG2+nov59Fdc+8i6Hl+DYxwtlL1X4D3ZhYGymL65gG6fc+yyqBWhZ8athr+lgd5qcu77Q=="
+ },
"angular-mocks": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/angular-mocks/-/angular-mocks-1.7.3.tgz",
diff --git a/package.json b/package.json
index bdcb04d..b4db876 100644
--- a/package.json
+++ b/package.json
@@ -32,6 +32,7 @@
"angular-animate": "^1.7.5",
"angular-clipboard": "^1.6.2",
"angular-cookies": "^1.7.5",
+ "angular-messages": "^1.7.6",
"angular-route": "^1.7.5",
"angular-sanitize": "^1.7.5",
"angular-ui-bootstrap": "^2.5.0",
OpenPOWER on IntegriCloud