mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-26 03:06:09 +01:00
chore(dependencies): update dependencies, move to @types, some refactoring as per AngularClass/angular2-webpack-starter project
This commit is contained in:
parent
7d0ff2ef96
commit
e7fca6d4ed
24 changed files with 505 additions and 295 deletions
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
// Angular 2
|
||||
// rc2 workaround
|
||||
import { enableDebugTools, disableDebugTools } from '@angular/platform-browser';
|
||||
|
|
@ -23,7 +24,13 @@ if ('production' === ENV) {
|
|||
|
||||
} else {
|
||||
|
||||
_decorateComponentRef = (cmpRef) => enableDebugTools(cmpRef);
|
||||
_decorateComponentRef = (cmpRef) => {
|
||||
let _ng = (<any>window).ng;
|
||||
enableDebugTools(cmpRef);
|
||||
(<any>window).ng.probe = _ng.probe;
|
||||
(<any>window).ng.coreTokens = _ng.coreTokens;
|
||||
return cmpRef;
|
||||
};
|
||||
|
||||
// Development
|
||||
PROVIDERS = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue