File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 37
37
"typescript" : " 1.8.2"
38
38
},
39
39
"peerDependencies" : {
40
- "tns-core-modules" : " >=2.0.0 || >=2.0.0-2016 || >=2.0.0-angular-2 "
40
+ "tns-core-modules" : " >=2.0.0 || >=2.0.0-2016 || >=2.0.0-angular-3 "
41
41
},
42
42
"nativescript" : {}
43
43
}
Original file line number Diff line number Diff line change 1
- //Import globals before the zone, so the latter can patch the global functions
2
- import 'globals' ;
3
-
4
1
//prevent a crash in zone patches. pretend we're node.js
5
2
global . process = { } ;
6
3
const oldToString = Object . prototype . toString ;
@@ -10,6 +7,10 @@ Object.prototype.toString = function() {
10
7
import "zone.js/dist/zone.js"
11
8
Object . prototype . toString = oldToString ;
12
9
delete global . process ;
10
+ //
11
+ //Import globals after the zone, so the latter can't patch everything there.
12
+ //The patchables should already be zone-aware already.
13
+ import 'globals' ;
13
14
14
15
import 'reflect-metadata' ;
15
16
import './polyfills/array' ;
You can’t perform that action at this time.
0 commit comments