Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs: complete core-js migration #1442

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/docs/_examples/quickstart/js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- #docregion libraries -->
<!-- #docregion ie-polyfills -->
<!-- IE required polyfill -->
<script src="node_modules/client/shim.min.js"></script>
<script src="node_modules/core-js/client/shim.min.js"></script>
<!-- #enddocregion ie-polyfills -->

<script src="node_modules/zone.js/dist/zone.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/quickstart/ts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<!-- #docregion libraries -->
<!-- #docregion ie-polyfills -->
<!-- Polyfill(s) for older browsers -->
<script src="node_modules/client/shim.min.js"></script>
<script src="node_modules/core-js/client/shim.min.js"></script>
<!-- #enddocregion ie-polyfills -->

<script src="node_modules/zone.js/dist/zone.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/webpack/ts/config/karma-test-shim.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #docregion
Error.stackTraceLimit = Infinity;

require('es6-shim');
require('core-js/es6');
require('reflect-metadata');

require('zone.js/dist/zone');
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/webpack/ts/package.webpack.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
"@angular/router-deprecated": "2.0.0-rc.1",
"es6-shim": "^0.35.0",
"core-js": "^2.4.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.6",
"zone.js": "0.6.12"
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/webpack/ts/src/polyfills.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// #docregion
import 'es6-shim';
import 'core-js/es6';
import 'reflect-metadata';
require('zone.js/dist/zone');

Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/webpack/ts/typings.1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ambientDependencies": {
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654",
"core-js": "registry:dt/core-js#0.0.0+20160317120654",
"jasmine": "registry:dt/jasmine#2.2.0+20160412134438",
"node": "registry:dt/node#4.0.0+20160509154515"
}
Expand Down
2 changes: 1 addition & 1 deletion public/docs/ts/latest/quickstart.jade
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ h2#index Step 4: Add #[code index.html]
We loaded the following scripts
+makeExcerpt('index.html', 'libraries')
:marked
We begin with es6-shim which monkey patches the global context (window) with essential features of ES2015 (ES6).
We begin with core-js's es6-him which monkey patches the global context (window) with essential features of ES2015 (ES6).
Next are the polyfills for Angular2, `zone.js` and `reflect-metadata`.
Then the [SystemJS](#systemjs) library for module loading.

Expand Down