This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 10
10
<!-- #docregion libraries -->
11
11
<!-- #docregion ie-polyfills -->
12
12
<!-- IE required polyfill -->
13
- < script src ="node_modules/client/shim.min.js "> </ script >
13
+ < script src ="node_modules/core-js/ client/shim.min.js "> </ script >
14
14
<!-- #enddocregion ie-polyfills -->
15
15
16
16
< script src ="node_modules/zone.js/dist/zone.js "> </ script >
Original file line number Diff line number Diff line change 11
11
<!-- #docregion libraries -->
12
12
<!-- #docregion ie-polyfills -->
13
13
<!-- Polyfill(s) for older browsers -->
14
- < script src ="node_modules/client/shim.min.js "> </ script >
14
+ < script src ="node_modules/core-js/ client/shim.min.js "> </ script >
15
15
<!-- #enddocregion ie-polyfills -->
16
16
17
17
< script src ="node_modules/zone.js/dist/zone.js "> </ script >
Original file line number Diff line number Diff line change 1
1
// #docregion
2
2
Error . stackTraceLimit = Infinity ;
3
3
4
- require ( 'es6-shim ' ) ;
4
+ require ( 'core-js/es6 ' ) ;
5
5
require ( 'reflect-metadata' ) ;
6
6
7
7
require ( 'zone.js/dist/zone' ) ;
Original file line number Diff line number Diff line change 17
17
"@angular/platform-browser" : " 2.0.0-rc.1" ,
18
18
"@angular/platform-browser-dynamic" : " 2.0.0-rc.1" ,
19
19
"@angular/router-deprecated" : " 2.0.0-rc.1" ,
20
- "es6-shim " : " ^0.35 .0" ,
20
+ "core-js " : " ^2.4 .0" ,
21
21
"reflect-metadata" : " 0.1.2" ,
22
22
"rxjs" : " 5.0.0-beta.6" ,
23
23
"zone.js" : " 0.6.12"
Original file line number Diff line number Diff line change 1
1
// #docregion
2
- import 'es6-shim ' ;
2
+ import 'core-js/es6 ' ;
3
3
import 'reflect-metadata' ;
4
4
require ( 'zone.js/dist/zone' ) ;
5
5
Original file line number Diff line number Diff line change 1
1
{
2
2
"ambientDependencies" : {
3
- "es6-shim " : " registry:dt/es6-shim #0.31.2 +20160317120654" ,
3
+ "core-js " : " registry:dt/core-js #0.0.0 +20160317120654" ,
4
4
"jasmine" : " registry:dt/jasmine#2.2.0+20160412134438" ,
5
5
"node" : " registry:dt/node#4.0.0+20160509154515"
6
6
}
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ a(id="polyfills")
103
103
:marked
104
104
See "[Why peerDependencies?](#why-peer-dependencies)" below for background on this requirement.
105
105
:marked
106
- ***es6-shim *** - monkey patches the global context (window) with essential features of ES2015 (ES6).
106
+ ***core-js *** - monkey patches the global context (window) with essential features of ES2015 (ES6).
107
107
Developers may substitute an alternative polyfill that provides the same core APIs.
108
108
This dependency should go away once these APIs are implemented by all supported ever-green browsers.
109
109
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ h2#index Step 4: Add #[code index.html]
362
362
We loaded the following scripts
363
363
+ makeExcerpt('index.html' , 'libraries' )
364
364
:marked
365
- We begin with es6-shim which monkey patches the global context (window) with essential features of ES2015 (ES6).
365
+ We begin with core-js's es6-shim which monkey patches the global context (window) with essential features of ES2015 (ES6).
366
366
Next are the polyfills for Angular2, `zone.js` and `reflect-metadata`.
367
367
Then the [SystemJS](#systemjs) library for module loading.
368
368
You can’t perform that action at this time.
0 commit comments