| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3743b0e commit 5ab8fe7
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,18 +21,19 @@ import { module as scopeModule } from './modules/scope'; | |||
| 21 | 21 | import { module as coreModule, Core } from './modules/core'; | |
| 22 | 22 | import { module as viewModelModule, ViewModel } from './modules/view-model'; | |
| 23 | 23 | import { module as reactiveModule, Reactive } from './modules/reactive'; | |
| 24 | + import { module as templatesModule } from './modules/templates'; | ||
| 24 | 25 | ||
| 25 | - const module = 'angular-meteor'; | ||
| 26 | - export default module; | ||
| 26 | + export const name = 'angular-meteor'; | ||
| 27 | 27 | ||
| 28 | - angular.module(module, [ | ||
| 28 | + angular.module(name, [ | ||
| 29 | 29 | // new | |
| 30 | 30 | utilsModule, | |
| 31 | 31 | mixerModule, | |
| 32 | 32 | scopeModule, | |
| 33 | 33 | coreModule, | |
| 34 | 34 | viewModelModule, | |
| 35 | 35 | reactiveModule, | |
| 36 | + templatesModule, | ||
| 36 | 37 | ||
| 37 | 38 | // legacy | |
| 38 | 39 | 'angular-meteor.ironrouter', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + export const module = 'angular-templates'; | ||
| 2 | + | ||
| 3 | + try { | ||
| 4 | + angular.module(module); | ||
| 5 | + } catch (e) { | ||
| 6 | + angular.module(module, []); | ||
| 7 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments