| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 973c55c commit 9db9918
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -547,7 +547,8 @@ export class Generator extends Base { | |||
| 547 | 547 | ['ngRoute', 'angular-route'], | |
| 548 | 548 | ['uiBootstrap', 'angular-ui-bootstrap'], | |
| 549 | 549 | ['ngMessages', 'angular-messages'], | |
| 550 | - ['io', 'socket.io-client'] | ||
| 550 | + ['io', 'socket.io-client'], | ||
| 551 | + ['ngValidationMatch', 'angular-validation-match'] | ||
| 551 | 552 | ]; | |
| 552 | 553 | function replacer(contents) { | |
| 553 | 554 | modulesToFix.forEach(([moduleName, importName]) => { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ import angular from 'angular'; | |||
| 4 | 4 | import ngCookies from 'angular-cookies'; | |
| 5 | 5 | import ngResource from 'angular-resource'; | |
| 6 | 6 | import ngSanitize from 'angular-sanitize'; | |
| 7 | - import ngValidationMatch from 'angular-validation-match'; | ||
| 7 | + | ||
| 8 | 8 | <%_ if(filters.socketio) { _%> | |
| 9 | 9 | import 'angular-socket-io';<% } %> | |
| 10 | 10 | <%_ if(filters.ngroute) { _%> | |
@@ -15,6 +15,7 @@ import uiRouter from 'angular-ui-router';<% } %> | |||
| 15 | 15 | import uiBootstrap from 'angular-ui-bootstrap';<% } %> | |
| 16 | 16 | // import ngMessages from 'angular-messages'; | |
| 17 | 17 | <%_ if(filters.auth) { _%> | |
| 18 | + import ngValidationMatch from 'angular-validation-match'; | ||
| 18 | 19 | <% } %> | |
| 19 | 20 | ||
| 20 | 21 | ||
@@ -39,7 +40,6 @@ angular.module('<%= scriptAppName %>', [ | |||
| 39 | 40 | ngCookies, | |
| 40 | 41 | ngResource, | |
| 41 | 42 | ngSanitize, | |
| 42 | - 'validation.match', | ||
| 43 | 43 | <%_ if(filters.socketio) { %> | |
| 44 | 44 | 'btford.socket-io',<% } %> | |
| 45 | 45 | <%_ if(filters.ngroute) { %> | |
@@ -51,7 +51,9 @@ angular.module('<%= scriptAppName %>', [ | |||
| 51 | 51 | <%_ if(filters.auth) { %> | |
| 52 | 52 | _Auth, | |
| 53 | 53 | account, | |
| 54 | - admin,<% } _%> | ||
| 54 | + admin, | ||
| 55 | + 'validation.match', | ||
| 56 | + <% } _%> | ||
| 55 | 57 | navbar, | |
| 56 | 58 | footer, | |
| 57 | 59 | main, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments