dashboard
repositories
filestore
activity
search
login
main
/
screen_demo3
招投标-北京密云
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
Merge branch 'develop' of ssh://121.40.92.176:29418/screen-frontend into de...
沈斌
2018-03-08
f320f1970e5d80a423f377fb3253628bd1e7f5bf
[screen_demo3.git]
/
src
/
app
/
core
/
module-import-guard.ts
1
2
3
4
5
6
// https://angular.io/guide/styleguide#style-04-12
export function throwIfAlreadyLoaded(parentModule: any, moduleName: string) {
if (parentModule) {
throw new Error(`${moduleName} has already been loaded. Import Core modules in the AppModule only.`);
}
}