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

Commit 044a0c6

Browse files
Foxandxsswardbell
authored andcommitted
chore: add systemjs.config.js back to plunkers (#3219)
* chore: add systemjs.config.js back to plunkers * remove the non needed options from plnkr.json as well
1 parent f5271d7 commit 044a0c6

File tree

8 files changed

+8
-23
lines changed

8 files changed

+8
-23
lines changed

public/docs/_examples/setup/ts/quickstart-specs.plnkr.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99
],
1010
"main": "quickstart-specs.html",
1111
"open": "app/app.component.spec.ts",
12-
"tags": ["quickstart", "setup", "testing"],
13-
"includeSystemConfig": true
12+
"tags": ["quickstart", "setup", "testing"]
1413
}

public/docs/_examples/testing/ts/1st-specs.plnkr.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@
1010
],
1111
"main": "1st-specs.html",
1212
"open": "app/1st.spec.ts",
13-
"tags": ["testing"],
14-
"includeSystemConfig": true
13+
"tags": ["testing"]
1514
}

public/docs/_examples/testing/ts/app-specs.plnkr.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@
2020
"app-specs.html"
2121
],
2222
"main": "app-specs.html",
23-
"tags": ["testing"],
24-
"includeSystemConfig": true
23+
"tags": ["testing"]
2524
}

public/docs/_examples/testing/ts/bag-specs.plnkr.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@
1717
"bag-specs.html"
1818
],
1919
"main": "bag-specs.html",
20-
"tags": ["testing"],
21-
"includeSystemConfig": true
20+
"tags": ["testing"]
2221
}

public/docs/_examples/testing/ts/banner-inline-specs.plnkr.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@
1111
],
1212
"main": "banner-inline-specs.html",
1313
"open": "app/banner-inline.component.spec.ts",
14-
"tags": ["testing"],
15-
"includeSystemConfig": true
14+
"tags": ["testing"]
1615
}

public/docs/_examples/testing/ts/banner-specs.plnkr.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
],
1414
"main": "banner-specs.html",
1515
"open": "app/banner.component.spec.ts",
16-
"tags": ["testing"],
17-
"includeSystemConfig": true
16+
"tags": ["testing"]
1817
}

tools/plunker-builder/builder.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,8 @@ class PlunkerBuilder {
3939

4040
_addPlunkerFiles(config, postData) {
4141
if (config.basePath.indexOf('/ts') > -1) {
42-
if (config.includeSystemConfig) {
43-
// uses systemjs.config.js so add plunker version
44-
this.options.addField(postData, 'systemjs.config.js', this.systemjsConfig);
45-
}
42+
// uses systemjs.config.js so add plunker version
43+
this.options.addField(postData, 'systemjs.config.js', this.systemjsConfig);
4644
}
4745
}
4846

tools/plunker-builder/indexHtmlTranslator.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ var _rxRules = {
1919
from: '/<link rel="stylesheet" href=".*%tag%".*>/',
2020
to: '<link rel="stylesheet" href="%tag%">'
2121
},
22-
systemjs: {
23-
from: /<script src="systemjs.config.js"><\/script>/,
24-
to: '<script src="https://cdn.rawgit.com/angular/angular.io/b3c65a9/public/docs/_examples/_boilerplate/systemjs.config.web.js"></script>'
25-
},
2622
// Clear script like this:
2723
// <script>
2824
// System.import('app').catch(function(err){ console.error(err); });
@@ -106,9 +102,6 @@ var _rxData = [
106102
{
107103
pattern: 'zone_pkg',
108104
},
109-
{
110-
pattern: 'systemjs',
111-
},
112105
// {
113106
// pattern: 'system_strip_import_app',
114107
// },

0 commit comments

Comments
 (0)