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

Commit 7a1ba4f

Browse files
committed
fix plunkers
1 parent 8d6be31 commit 7a1ba4f

File tree

64 files changed

+116
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+116
-74
lines changed

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ var _exampleBoilerplateFiles = [
9494
];
9595

9696
var _exampleUnitTestingBoilerplateFiles = [
97-
'browser-test-shim.js',
97+
'src/browser-test-shim.js',
9898
'karma-test-shim.js',
9999
'karma.conf.js'
100100
];
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"description": "QuickStart",
3+
"basePath": "src/",
4+
"files": [
5+
"app/app.component.ts",
6+
"index.html"
7+
],
8+
"open": "app/app.component.ts",
9+
"tags": ["quickstart"]
10+
}

public/docs/_examples/animations/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "Angular Animations",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js"

public/docs/_examples/architecture/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "Intro to Angular",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js",

public/docs/_examples/attribute-directives/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "Attribute Directive",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js",

public/docs/_examples/cb-ajs-quick-reference/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "AngularJS to Angular Quick Reference",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js",
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"description": "Component Communication Cookbook samples",
3+
"basePath": "src/",
34
"files":[
4-
"!**/*.d.ts",
5+
"!**/*.d.ts",
56
"!**/*.js"
67
],
78
"tags":["cookbook", "component"]
8-
}
9+
}

public/docs/_examples/cb-component-relative-paths/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "Module-relative Paths",
3+
"basePath": "src/",
34
"files": [
45
"!**/*.d.ts",
56
"!**/*.js"
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"description": "Dependency Injection",
3+
"basePath": "src/",
34
"files":[
4-
"!**/*.d.ts",
5+
"!**/*.d.ts",
56
"!**/*.js",
67
"!**/*.[1].*"
78
],
89
"tags":["cookbook"]
9-
}
10+
}

public/docs/_examples/cb-dynamic-form/ts/plnkr.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"description": "Dynamic Form",
3+
"basePath": "src/",
34
"files":[
4-
"!**/*.d.ts",
5+
"!**/*.d.ts",
56
"!**/*.js",
67
"!**/*.[1].*"
78
],
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"description": "Validation",
3+
"basePath": "src/",
34
"files":[
4-
"!**/*.d.ts",
5+
"!**/*.d.ts",
56
"!**/*.js"
67
]
7-
}
8+
}

public/docs/_examples/cb-i18n/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "i18n",
3+
"basePath": "src/",
34
"files": [
45
"app/**/*.css",
56
"app/**/*.html",

public/docs/_examples/cb-set-document-title/ts/plnkr.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"description": "Set The Document Title In Angular",
3+
"basePath": "src/",
34
"files": [
4-
"!**/*.d.ts",
5+
"!**/*.d.ts",
56
"!**/*.js",
67
"!**/*.[1].*"
78
],

public/docs/_examples/cb-ts-to-js/js-es6-decorators/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "TypeScript to JavaScript",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js"

public/docs/_examples/cb-ts-to-js/js-es6/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "TypeScript to JavaScript",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js"

public/docs/_examples/cb-ts-to-js/js/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "TypeScript to JavaScript",
3+
"basePath": "src/",
34
"files":[
45
"!**/karma*.*"
56
],

public/docs/_examples/cb-ts-to-js/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "TypeScript to JavaScript",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js"

public/docs/_examples/component-styles/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "Component Styles",
3+
"basePath": "src/",
34
"files": [
45
"!**/*.d.ts",
56
"!**/*.js",
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"description": "Dependency Injection",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js",
67
"!**/*.[1,2].*"
78
],
89
"tags": ["dependency", "di"]
9-
}
10+
}
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"description": "Displaying Data",
3+
"basePath": "src/",
34
"files": [
45
"!**/*.d.ts",
56
"!**/*.js",
67
"!**/app-ctor.component.ts",
78
"!**/*.[1,2,3].*"
89
],
910
"tags": ["Template"]
10-
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"description": "Forms",
3+
"basePath": "src/",
34
"files":["app/**/*.js", "**/*.html", "**/*.css"]
45
}
+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"description": "Forms",
3+
"basePath": "src/",
34
"files":[
4-
"!**/*.d.ts",
5+
"!**/*.d.ts",
56
"!**/*.js"
67
]
7-
}
8+
}

public/docs/_examples/hierarchical-dependency-injection/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "Hierachical Dependency Injection",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js"
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"description": "Hello World",
3+
"basePath": "src/",
34
"files":[
4-
"!**/*.d.ts",
5+
"!**/*.d.ts",
56
"!**/*.js",
67
"!**/*.[1].*"
78
]
8-
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"description": "Tabs",
3+
"basePath": "src/",
34
"files":[
4-
"!**/*.d.ts",
5+
"!**/*.d.ts",
56
"!**/*.js",
67
"!**/*.[1].*"
78
]
8-
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"description": "Todo",
3+
"basePath": "src/",
34
"files":[
4-
"!**/*.d.ts",
5+
"!**/*.d.ts",
56
"!**/*.js",
67
"!**/*.[1].*"
78
]
8-
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"description": "Lifecycle Hooks",
3+
"basePath": "src/",
34
"files":["!**/*.d.ts", "!**/*.js"],
45
"tags": ["lifecycle", "hooks",
56
"OnInit", "OnDestroy", "OnChange", "DoCheck",
67
"AfterContentInit", "AfterContentChecked",
78
"AfterViewInit", "AfterViewChecked"]
8-
}
9+
}

public/docs/_examples/ngmodule/ts/contact.1b.plnkr.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"description": "Contact NgModule v.1",
3+
"basePath": "src/",
34
"files": [
45
"app/app.component.1b.ts",
56
"app/app.module.1b.ts",
6-
"app/main.1b.ts",
77
"app/highlight.directive.ts",
88
"app/title.component.html",
99
"app/title.component.ts",
@@ -16,6 +16,7 @@
1616
"app/contact/contact.service.ts",
1717
"app/contact/highlight.directive.ts",
1818

19+
"main.1b.ts",
1920
"styles.css",
2021
"index.1b.html"
2122
],

public/docs/_examples/ngmodule/ts/contact.2.plnkr.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"description": "Contact NgModule v.2",
3+
"basePath": "src/",
34
"files": [
45
"app/app.component.2.ts",
56
"app/app.module.2.ts",
6-
"app/main.2.ts",
77
"app/highlight.directive.ts",
88
"app/title.component.html",
99
"app/title.component.ts",
@@ -18,6 +18,7 @@
1818
"app/contact/contact.module.2.ts",
1919
"app/contact/highlight.directive.ts",
2020

21+
"main.2.ts",
2122
"styles.css",
2223
"index.2.html"
2324
],

public/docs/_examples/ngmodule/ts/minimal.0.plnkr.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"description": "Minimal NgModule",
3+
"basePath": "src/",
34
"files": [
45
"app/app.component.0.ts",
56
"app/app.module.0.ts",
6-
"app/main.0.ts",
7+
"main.0.ts",
78
"styles.css",
89
"index.0.html"
910
],

public/docs/_examples/ngmodule/ts/plnkr.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"description": "NgModule Final",
3+
"basePath": "src/",
34
"files": [
45
"app/app.component.ts",
56
"app/app.module.ts",
67
"app/app-routing.module.ts",
7-
"app/main.ts",
88

99
"app/contact/contact.component.css",
1010
"app/contact/contact.component.html",
@@ -32,6 +32,7 @@
3232
"app/shared/*.html",
3333
"app/shared/*.ts",
3434

35+
"main.ts",
3536
"styles.css",
3637
"index.html"
3738
],

public/docs/_examples/ngmodule/ts/pre-shared.3.plnkr.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"description": "NgModule v.3",
3+
"basePath": "src/",
34
"files": [
45
"app/app.component.3.ts",
56
"app/app.module.3.ts",
67
"app/app-routing.module.3.ts",
7-
"app/main.3.ts",
88

99
"app/highlight.directive.ts",
1010
"app/title.component.html",
@@ -32,6 +32,7 @@
3232
"app/hero/hero-routing.module.3.ts",
3333
"app/hero/highlight.directive.ts",
3434

35+
"main.3.ts",
3536
"styles.css",
3637
"index.3.html"
3738
],
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"description": "Pipes",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js"],
67
"tags": ["pipe"]
7-
}
8+
}

public/docs/_examples/quickstart/js/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "QuickStart",
3+
"basePath": "src/",
34
"files": [
45
"!**/*.[1].*"
56
],
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"description": "QuickStart",
3+
"basePath": "src/",
34
"files": [
4-
"src/app/app.component.ts",
5-
"src/index.html"
5+
"app/app.component.ts",
6+
"index.html"
67
],
7-
"open": "src/app/app.component.ts",
8+
"open": "app/app.component.ts",
89
"tags": ["quickstart"]
910
}

public/docs/_examples/router/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "Router",
3+
"basePath": "src/",
34
"files":[
45
"!**/*.d.ts",
56
"!**/*.js",

public/docs/_examples/security/ts/plnkr.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"description": "Content Security",
3+
"basePath": "src/",
34
"files": [
45
"!**/*.d.ts",
56
"!**/*.js"

0 commit comments

Comments
 (0)