diff --git a/gulpfile.js b/gulpfile.js
index cdd97f67e5..cf6eac22f6 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -352,7 +352,7 @@ function proxyServeDart() {
return jsserve(gulp, gulpPlugins, {
port: 8002,
proxies: [
- {route: '/examples', url: 'http://localhost:8004'},
+ {route: '/playground', url: 'http://localhost:8004'},
{route: '/benchmarks_external', url: 'http://localhost:8008'},
{route: '/benchmarks', url: 'http://localhost:8006'}
]
@@ -393,7 +393,7 @@ gulp.task('serve.dart', function(done) {
gulp.task('serve/examples.dart', pubserve(gulp, gulpPlugins, {
command: DART_SDK.PUB,
- path: CONFIG.dest.dart + '/examples',
+ path: CONFIG.dest.dart + '/playground',
port: 8004
}));
diff --git a/modules/benchpress/test/firefox_extension/sample_benchmark.ts b/modules/benchpress/test/firefox_extension/sample_benchmark.ts
index 38e28a1244..c3d34df92d 100644
--- a/modules/benchpress/test/firefox_extension/sample_benchmark.ts
+++ b/modules/benchpress/test/firefox_extension/sample_benchmark.ts
@@ -14,7 +14,7 @@ var runner = new benchpress.Runner([
describe('deep tree baseline', function() {
it('should be fast!', function(done) {
browser.ignoreSynchronization = true;
- browser.get('http://localhost:8001/examples/src/benchpress/');
+ browser.get('http://localhost:8001/playground/src/benchpress/');
/*
* Tell benchpress to click the buttons to destroy and re-create the tree for each sample.
diff --git a/modules/benchpress/test/firefox_extension/spec.ts b/modules/benchpress/test/firefox_extension/spec.ts
index 9d5e9b7dec..454f7c1cb5 100644
--- a/modules/benchpress/test/firefox_extension/spec.ts
+++ b/modules/benchpress/test/firefox_extension/spec.ts
@@ -14,7 +14,7 @@ var assertEventsContainsName = function(events, eventName) {
};
describe('firefox extension', function() {
- var TEST_URL = 'http://localhost:8001/examples/src/hello_world/index.html';
+ var TEST_URL = 'http://localhost:8001/playground/src/hello_world/index.html';
it('should measure performance', function() {
browser.sleep(3000); // wait for extension to load
diff --git a/modules/examples/e2e_test/async/async_spec.dart b/modules/examples/e2e_test/async/async_spec.dart
deleted file mode 100644
index c15ac5b40c..0000000000
--- a/modules/examples/e2e_test/async/async_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.async_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/hello_world/hello_world_spec.dart b/modules/examples/e2e_test/hello_world/hello_world_spec.dart
deleted file mode 100644
index 8a20d03df1..0000000000
--- a/modules/examples/e2e_test/hello_world/hello_world_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.hello_world.hello_world_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/http/http_spec.dart b/modules/examples/e2e_test/http/http_spec.dart
deleted file mode 100644
index c38eca18ae..0000000000
--- a/modules/examples/e2e_test/http/http_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.http.http_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/jsonp/jsonp_spec.dart b/modules/examples/e2e_test/jsonp/jsonp_spec.dart
deleted file mode 100644
index 39c1a464a3..0000000000
--- a/modules/examples/e2e_test/jsonp/jsonp_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.jsonp.jsonp_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/key_events/key_events_spec.dart b/modules/examples/e2e_test/key_events/key_events_spec.dart
deleted file mode 100644
index 7ac5826bcf..0000000000
--- a/modules/examples/e2e_test/key_events/key_events_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.key_events.key_events_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/material/button_spec.dart b/modules/examples/e2e_test/material/button_spec.dart
deleted file mode 100644
index 41b3a3fa79..0000000000
--- a/modules/examples/e2e_test/material/button_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.material.button_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/material/checkbox_spec.dart b/modules/examples/e2e_test/material/checkbox_spec.dart
deleted file mode 100644
index ea31922d36..0000000000
--- a/modules/examples/e2e_test/material/checkbox_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.material.checkbox_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/material/dialog_spec.dart b/modules/examples/e2e_test/material/dialog_spec.dart
deleted file mode 100644
index 36954c6fd1..0000000000
--- a/modules/examples/e2e_test/material/dialog_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.material.dialog_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/material/grid_list_spec.dart b/modules/examples/e2e_test/material/grid_list_spec.dart
deleted file mode 100644
index 578b017c3d..0000000000
--- a/modules/examples/e2e_test/material/grid_list_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.material.grid_list_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/material/input_spec.dart b/modules/examples/e2e_test/material/input_spec.dart
deleted file mode 100644
index 7133081fdb..0000000000
--- a/modules/examples/e2e_test/material/input_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.material.input_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/material/progress_linear_spec.dart b/modules/examples/e2e_test/material/progress_linear_spec.dart
deleted file mode 100644
index 4d5d3352d6..0000000000
--- a/modules/examples/e2e_test/material/progress_linear_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.material.progress_linear_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/material/radio_spec.dart b/modules/examples/e2e_test/material/radio_spec.dart
deleted file mode 100644
index 276bd9c6ab..0000000000
--- a/modules/examples/e2e_test/material/radio_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.material.radio_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/model_driven_forms/model_driven_forms_spec.dart b/modules/examples/e2e_test/model_driven_forms/model_driven_forms_spec.dart
deleted file mode 100644
index 7f85305a34..0000000000
--- a/modules/examples/e2e_test/model_driven_forms/model_driven_forms_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.hello_world.model_driven_forms_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/order_management/order_management_spec.dart b/modules/examples/e2e_test/order_management/order_management_spec.dart
deleted file mode 100644
index e66e68c790..0000000000
--- a/modules/examples/e2e_test/order_management/order_management_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.order_management_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/person_management/person_management_spec.dart b/modules/examples/e2e_test/person_management/person_management_spec.dart
deleted file mode 100644
index 5b72ff7af6..0000000000
--- a/modules/examples/e2e_test/person_management/person_management_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.person_management_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/routing/routing_spec.dart b/modules/examples/e2e_test/routing/routing_spec.dart
deleted file mode 100644
index 61648bc4cd..0000000000
--- a/modules/examples/e2e_test/routing/routing_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.routing.routing_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/sourcemap/sourcemap_spec.dart b/modules/examples/e2e_test/sourcemap/sourcemap_spec.dart
deleted file mode 100644
index 61ff05b34d..0000000000
--- a/modules/examples/e2e_test/sourcemap/sourcemap_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.sourcemap.sourcemap_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/template_driven_forms/template_driven_forms_spec.dart b/modules/examples/e2e_test/template_driven_forms/template_driven_forms_spec.dart
deleted file mode 100644
index dc6a72d9ea..0000000000
--- a/modules/examples/e2e_test/template_driven_forms/template_driven_forms_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.hello_world.template_driven_forms_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.dart b/modules/examples/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.dart
deleted file mode 100644
index f82ef5dd47..0000000000
--- a/modules/examples/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.web_workers.kitchen_sink_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/web_workers/message_broker/message_broker_spec.dart b/modules/examples/e2e_test/web_workers/message_broker/message_broker_spec.dart
deleted file mode 100644
index 36b51f2f69..0000000000
--- a/modules/examples/e2e_test/web_workers/message_broker/message_broker_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.message_bus;
-
-main() {}
diff --git a/modules/examples/e2e_test/web_workers/todo/todo_spec.dart b/modules/examples/e2e_test/web_workers/todo/todo_spec.dart
deleted file mode 100644
index 25b27c2975..0000000000
--- a/modules/examples/e2e_test/web_workers/todo/todo_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.web_workers.todo_spec;
-
-main() {}
diff --git a/modules/examples/e2e_test/zippy_component/zippy_spec.dart b/modules/examples/e2e_test/zippy_component/zippy_spec.dart
deleted file mode 100644
index 36b2d1f1f1..0000000000
--- a/modules/examples/e2e_test/zippy_component/zippy_spec.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-library examples.e2e_test.zippy_component.zippy_spec;
-
-main() {}
diff --git a/modules/playground/e2e_test/async/async_spec.dart b/modules/playground/e2e_test/async/async_spec.dart
new file mode 100644
index 0000000000..d22b138845
--- /dev/null
+++ b/modules/playground/e2e_test/async/async_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.async_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/async/async_spec.ts b/modules/playground/e2e_test/async/async_spec.ts
similarity index 97%
rename from modules/examples/e2e_test/async/async_spec.ts
rename to modules/playground/e2e_test/async/async_spec.ts
index 3f3accadd8..64c5f4d55f 100644
--- a/modules/examples/e2e_test/async/async_spec.ts
+++ b/modules/playground/e2e_test/async/async_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('async', () => {
- var URL = 'examples/src/async/index.html';
+ var URL = 'playground/src/async/index.html';
beforeEach(() => browser.get(URL));
diff --git a/modules/playground/e2e_test/hello_world/hello_world_spec.dart b/modules/playground/e2e_test/hello_world/hello_world_spec.dart
new file mode 100644
index 0000000000..c43dc53e2b
--- /dev/null
+++ b/modules/playground/e2e_test/hello_world/hello_world_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.hello_world.hello_world_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/hello_world/hello_world_spec.ts b/modules/playground/e2e_test/hello_world/hello_world_spec.ts
similarity index 94%
rename from modules/examples/e2e_test/hello_world/hello_world_spec.ts
rename to modules/playground/e2e_test/hello_world/hello_world_spec.ts
index 6095bfad56..abc00e7511 100644
--- a/modules/examples/e2e_test/hello_world/hello_world_spec.ts
+++ b/modules/playground/e2e_test/hello_world/hello_world_spec.ts
@@ -5,7 +5,7 @@ describe('hello world', function() {
afterEach(verifyNoBrowserErrors);
describe('hello world app', function() {
- var URL = 'examples/src/hello_world/index.html';
+ var URL = 'playground/src/hello_world/index.html';
it('should greet', function() {
browser.get(URL);
diff --git a/modules/playground/e2e_test/http/http_spec.dart b/modules/playground/e2e_test/http/http_spec.dart
new file mode 100644
index 0000000000..9890d16056
--- /dev/null
+++ b/modules/playground/e2e_test/http/http_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.http.http_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/http/http_spec.ts b/modules/playground/e2e_test/http/http_spec.ts
similarity index 93%
rename from modules/examples/e2e_test/http/http_spec.ts
rename to modules/playground/e2e_test/http/http_spec.ts
index d98f6d5a66..fb94cff8ed 100644
--- a/modules/examples/e2e_test/http/http_spec.ts
+++ b/modules/playground/e2e_test/http/http_spec.ts
@@ -7,7 +7,7 @@ describe('http', function() {
afterEach(verifyNoBrowserErrors);
describe('fetching', function() {
- var URL = 'examples/src/http/index.html';
+ var URL = 'playground/src/http/index.html';
it('should fetch and display people', function() {
browser.get(URL);
diff --git a/modules/playground/e2e_test/jsonp/jsonp_spec.dart b/modules/playground/e2e_test/jsonp/jsonp_spec.dart
new file mode 100644
index 0000000000..2521c6ff50
--- /dev/null
+++ b/modules/playground/e2e_test/jsonp/jsonp_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.jsonp.jsonp_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/jsonp/jsonp_spec.ts b/modules/playground/e2e_test/jsonp/jsonp_spec.ts
similarity index 93%
rename from modules/examples/e2e_test/jsonp/jsonp_spec.ts
rename to modules/playground/e2e_test/jsonp/jsonp_spec.ts
index 28eb775500..a8261b7524 100644
--- a/modules/examples/e2e_test/jsonp/jsonp_spec.ts
+++ b/modules/playground/e2e_test/jsonp/jsonp_spec.ts
@@ -7,7 +7,7 @@ describe('jsonp', function() {
afterEach(verifyNoBrowserErrors);
describe('fetching', function() {
- var URL = 'examples/src/jsonp/index.html';
+ var URL = 'playground/src/jsonp/index.html';
it('should fetch and display people', function() {
browser.get(URL);
diff --git a/modules/playground/e2e_test/key_events/key_events_spec.dart b/modules/playground/e2e_test/key_events/key_events_spec.dart
new file mode 100644
index 0000000000..bd88bd98bd
--- /dev/null
+++ b/modules/playground/e2e_test/key_events/key_events_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.key_events.key_events_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/key_events/key_events_spec.ts b/modules/playground/e2e_test/key_events/key_events_spec.ts
similarity index 98%
rename from modules/examples/e2e_test/key_events/key_events_spec.ts
rename to modules/playground/e2e_test/key_events/key_events_spec.ts
index d51d6d1c45..b609f7c9e5 100644
--- a/modules/examples/e2e_test/key_events/key_events_spec.ts
+++ b/modules/playground/e2e_test/key_events/key_events_spec.ts
@@ -2,7 +2,7 @@ import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('key_events', function() {
- var URL = 'examples/src/key_events/index.html';
+ var URL = 'playground/src/key_events/index.html';
afterEach(verifyNoBrowserErrors);
beforeEach(() => { browser.get(URL); });
diff --git a/modules/playground/e2e_test/material/button_spec.dart b/modules/playground/e2e_test/material/button_spec.dart
new file mode 100644
index 0000000000..9cd093e120
--- /dev/null
+++ b/modules/playground/e2e_test/material/button_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.material.button_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/material/button_spec.ts b/modules/playground/e2e_test/material/button_spec.ts
similarity index 82%
rename from modules/examples/e2e_test/material/button_spec.ts
rename to modules/playground/e2e_test/material/button_spec.ts
index a01d54f961..ee9d529d58 100644
--- a/modules/examples/e2e_test/material/button_spec.ts
+++ b/modules/playground/e2e_test/material/button_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('md-button', function() {
- var url = 'examples/src/material/button/index.html';
+ var url = 'playground/src/material/button/index.html';
beforeEach(() => { browser.get(url); });
afterEach(verifyNoBrowserErrors);
diff --git a/modules/playground/e2e_test/material/checkbox_spec.dart b/modules/playground/e2e_test/material/checkbox_spec.dart
new file mode 100644
index 0000000000..89cd00eecf
--- /dev/null
+++ b/modules/playground/e2e_test/material/checkbox_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.material.checkbox_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/material/checkbox_spec.ts b/modules/playground/e2e_test/material/checkbox_spec.ts
similarity index 89%
rename from modules/examples/e2e_test/material/checkbox_spec.ts
rename to modules/playground/e2e_test/material/checkbox_spec.ts
index e3fd91c90e..34202d49a8 100644
--- a/modules/examples/e2e_test/material/checkbox_spec.ts
+++ b/modules/playground/e2e_test/material/checkbox_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('md-checkbox', function() {
- var url = 'examples/src/material/checkbox/index.html';
+ var url = 'playground/src/material/checkbox/index.html';
beforeEach(() => { browser.get(url); });
afterEach(verifyNoBrowserErrors);
diff --git a/modules/playground/e2e_test/material/dialog_spec.dart b/modules/playground/e2e_test/material/dialog_spec.dart
new file mode 100644
index 0000000000..6e95f4ee7a
--- /dev/null
+++ b/modules/playground/e2e_test/material/dialog_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.material.dialog_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/material/dialog_spec.ts b/modules/playground/e2e_test/material/dialog_spec.ts
similarity index 90%
rename from modules/examples/e2e_test/material/dialog_spec.ts
rename to modules/playground/e2e_test/material/dialog_spec.ts
index 24398b580b..3cf81a3f9d 100644
--- a/modules/examples/e2e_test/material/dialog_spec.ts
+++ b/modules/playground/e2e_test/material/dialog_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('md-dialog', function() {
- var url = 'examples/src/material/dialog/index.html';
+ var url = 'playground/src/material/dialog/index.html';
beforeEach(() => { browser.get(url); });
afterEach(verifyNoBrowserErrors);
diff --git a/modules/playground/e2e_test/material/grid_list_spec.dart b/modules/playground/e2e_test/material/grid_list_spec.dart
new file mode 100644
index 0000000000..25d175ac74
--- /dev/null
+++ b/modules/playground/e2e_test/material/grid_list_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.material.grid_list_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/material/grid_list_spec.ts b/modules/playground/e2e_test/material/grid_list_spec.ts
similarity index 90%
rename from modules/examples/e2e_test/material/grid_list_spec.ts
rename to modules/playground/e2e_test/material/grid_list_spec.ts
index c41247355e..8c3d850bb7 100644
--- a/modules/examples/e2e_test/material/grid_list_spec.ts
+++ b/modules/playground/e2e_test/material/grid_list_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('md-grid-list', function() {
- var url = 'examples/src/material/grid_list/index.html';
+ var url = 'playground/src/material/grid_list/index.html';
beforeEach(() => { browser.get(url); });
afterEach(verifyNoBrowserErrors);
diff --git a/modules/playground/e2e_test/material/input_spec.dart b/modules/playground/e2e_test/material/input_spec.dart
new file mode 100644
index 0000000000..c0489a5221
--- /dev/null
+++ b/modules/playground/e2e_test/material/input_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.material.input_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/material/input_spec.ts b/modules/playground/e2e_test/material/input_spec.ts
similarity index 87%
rename from modules/examples/e2e_test/material/input_spec.ts
rename to modules/playground/e2e_test/material/input_spec.ts
index 5417abcdf5..3e06ab1a55 100644
--- a/modules/examples/e2e_test/material/input_spec.ts
+++ b/modules/playground/e2e_test/material/input_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('md-input', function() {
- var url = 'examples/src/material/input/index.html';
+ var url = 'playground/src/material/input/index.html';
beforeEach(() => { browser.get(url); });
afterEach(verifyNoBrowserErrors);
diff --git a/modules/playground/e2e_test/material/progress_linear_spec.dart b/modules/playground/e2e_test/material/progress_linear_spec.dart
new file mode 100644
index 0000000000..27f55e8d7d
--- /dev/null
+++ b/modules/playground/e2e_test/material/progress_linear_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.material.progress_linear_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/material/progress_linear_spec.ts b/modules/playground/e2e_test/material/progress_linear_spec.ts
similarity index 92%
rename from modules/examples/e2e_test/material/progress_linear_spec.ts
rename to modules/playground/e2e_test/material/progress_linear_spec.ts
index 4c8934400a..e1f852401d 100644
--- a/modules/examples/e2e_test/material/progress_linear_spec.ts
+++ b/modules/playground/e2e_test/material/progress_linear_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('md-progress-linear', function() {
- var url = 'examples/src/material/progress-linear/index.html';
+ var url = 'playground/src/material/progress-linear/index.html';
beforeEach(() => { browser.get(url); });
afterEach(verifyNoBrowserErrors);
diff --git a/modules/playground/e2e_test/material/radio_spec.dart b/modules/playground/e2e_test/material/radio_spec.dart
new file mode 100644
index 0000000000..6f850bfbed
--- /dev/null
+++ b/modules/playground/e2e_test/material/radio_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.material.radio_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/material/radio_spec.ts b/modules/playground/e2e_test/material/radio_spec.ts
similarity index 92%
rename from modules/examples/e2e_test/material/radio_spec.ts
rename to modules/playground/e2e_test/material/radio_spec.ts
index 3eecfb54a5..d613da7a73 100644
--- a/modules/examples/e2e_test/material/radio_spec.ts
+++ b/modules/playground/e2e_test/material/radio_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('md-radio-button', function() {
- var url = 'examples/src/material/radio/index.html';
+ var url = 'playground/src/material/radio/index.html';
beforeEach(() => { browser.get(url); });
afterEach(verifyNoBrowserErrors);
diff --git a/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.dart b/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.dart
new file mode 100644
index 0000000000..f9a6083fd7
--- /dev/null
+++ b/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.hello_world.model_driven_forms_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/model_driven_forms/model_driven_forms_spec.ts b/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts
similarity index 89%
rename from modules/examples/e2e_test/model_driven_forms/model_driven_forms_spec.ts
rename to modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts
index 90577553ab..3861299419 100644
--- a/modules/examples/e2e_test/model_driven_forms/model_driven_forms_spec.ts
+++ b/modules/playground/e2e_test/model_driven_forms/model_driven_forms_spec.ts
@@ -4,7 +4,7 @@ describe('Model-Driven Forms', function() {
afterEach(verifyNoBrowserErrors);
- var URL = 'examples/src/model_driven_forms/index.html';
+ var URL = 'playground/src/model_driven_forms/index.html';
it('should display errors', function() {
browser.get(URL);
diff --git a/modules/playground/e2e_test/order_management/order_management_spec.dart b/modules/playground/e2e_test/order_management/order_management_spec.dart
new file mode 100644
index 0000000000..25c30c7023
--- /dev/null
+++ b/modules/playground/e2e_test/order_management/order_management_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.order_management_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/order_management/order_management_spec.ts b/modules/playground/e2e_test/order_management/order_management_spec.ts
similarity index 78%
rename from modules/examples/e2e_test/order_management/order_management_spec.ts
rename to modules/playground/e2e_test/order_management/order_management_spec.ts
index 4373e1dd2a..4fdf1c57f3 100644
--- a/modules/examples/e2e_test/order_management/order_management_spec.ts
+++ b/modules/playground/e2e_test/order_management/order_management_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('Order Management CRUD', function() {
- var URL = 'examples/src/order_management/index.html';
+ var URL = 'playground/src/order_management/index.html';
it('should work', function() {
browser.get(URL);
diff --git a/modules/playground/e2e_test/person_management/person_management_spec.dart b/modules/playground/e2e_test/person_management/person_management_spec.dart
new file mode 100644
index 0000000000..6f2663b16f
--- /dev/null
+++ b/modules/playground/e2e_test/person_management/person_management_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.person_management_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/person_management/person_management_spec.ts b/modules/playground/e2e_test/person_management/person_management_spec.ts
similarity index 78%
rename from modules/examples/e2e_test/person_management/person_management_spec.ts
rename to modules/playground/e2e_test/person_management/person_management_spec.ts
index 5c3d22d78a..591fe0e0b4 100644
--- a/modules/examples/e2e_test/person_management/person_management_spec.ts
+++ b/modules/playground/e2e_test/person_management/person_management_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('Person Management CRUD', function() {
- var URL = 'examples/src/person_management/index.html';
+ var URL = 'playground/src/person_management/index.html';
it('should work', function() {
browser.get(URL);
diff --git a/modules/playground/e2e_test/routing/routing_spec.dart b/modules/playground/e2e_test/routing/routing_spec.dart
new file mode 100644
index 0000000000..8c1c7fd661
--- /dev/null
+++ b/modules/playground/e2e_test/routing/routing_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.routing.routing_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/routing/routing_spec.ts b/modules/playground/e2e_test/routing/routing_spec.ts
similarity index 96%
rename from modules/examples/e2e_test/routing/routing_spec.ts
rename to modules/playground/e2e_test/routing/routing_spec.ts
index 2fa61337ec..69509f927d 100644
--- a/modules/examples/e2e_test/routing/routing_spec.ts
+++ b/modules/playground/e2e_test/routing/routing_spec.ts
@@ -12,7 +12,7 @@ describe('routing inbox-app', () => {
afterEach(verifyNoBrowserErrors);
describe('index view', () => {
- var URL = 'examples/src/routing/';
+ var URL = 'playground/src/routing/';
it('should list out the current collection of items', () => {
browser.get(URL);
@@ -32,7 +32,7 @@ describe('routing inbox-app', () => {
describe('drafts view', () => {
- var URL = 'examples/src/routing/#/drafts';
+ var URL = 'playground/src/routing/#/drafts';
it('should navigate to the drafts view when the drafts link is clicked', () => {
browser.get(URL);
@@ -56,7 +56,7 @@ describe('routing inbox-app', () => {
describe('detail view', () => {
- var URL = 'examples/src/routing/';
+ var URL = 'playground/src/routing/';
it('should navigate to the detail view when an email is clicked', () => {
browser.get(URL);
diff --git a/modules/playground/e2e_test/sourcemap/sourcemap_spec.dart b/modules/playground/e2e_test/sourcemap/sourcemap_spec.dart
new file mode 100644
index 0000000000..cff45146db
--- /dev/null
+++ b/modules/playground/e2e_test/sourcemap/sourcemap_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.sourcemap.sourcemap_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/sourcemap/sourcemap_spec.ts b/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts
similarity index 83%
rename from modules/examples/e2e_test/sourcemap/sourcemap_spec.ts
rename to modules/playground/e2e_test/sourcemap/sourcemap_spec.ts
index d87d91400e..4eee3534ca 100644
--- a/modules/examples/e2e_test/sourcemap/sourcemap_spec.ts
+++ b/modules/playground/e2e_test/sourcemap/sourcemap_spec.ts
@@ -4,7 +4,7 @@ var fs = require('fs');
var sourceMap = require('source-map');
describe('sourcemaps', function() {
- var URL = 'examples/src/sourcemap/index.html';
+ var URL = 'playground/src/sourcemap/index.html';
it('should map sources', function() {
browser.get(URL);
@@ -29,13 +29,13 @@ describe('sourcemaps', function() {
expect(errorColumn).not.toBeNull();
- var sourceMapData = fs.readFileSync('dist/js/prod/es5/examples/src/sourcemap/index.js.map');
+ var sourceMapData = fs.readFileSync('dist/js/prod/es5/playground/src/sourcemap/index.js.map');
var decoder = new sourceMap.SourceMapConsumer(JSON.parse(sourceMapData));
var originalPosition = decoder.originalPositionFor({line: errorLine, column: errorColumn});
var sourceCodeLines =
- fs.readFileSync('modules/examples/src/sourcemap/index.ts', {encoding: 'UTF-8'})
+ fs.readFileSync('modules/playground/src/sourcemap/index.ts', {encoding: 'UTF-8'})
.split('\n');
expect(sourceCodeLines[originalPosition.line - 1])
.toMatch(/throw new BaseException\(\'Sourcemap test\'\)/);
diff --git a/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.dart b/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.dart
new file mode 100644
index 0000000000..e8d50701ef
--- /dev/null
+++ b/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.hello_world.template_driven_forms_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/template_driven_forms/template_driven_forms_spec.ts b/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts
similarity index 89%
rename from modules/examples/e2e_test/template_driven_forms/template_driven_forms_spec.ts
rename to modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts
index 85f92023a8..8d49221d0d 100644
--- a/modules/examples/e2e_test/template_driven_forms/template_driven_forms_spec.ts
+++ b/modules/playground/e2e_test/template_driven_forms/template_driven_forms_spec.ts
@@ -4,7 +4,7 @@ describe('Template-Driven Forms', function() {
afterEach(verifyNoBrowserErrors);
- var URL = 'examples/src/template_driven_forms/index.html';
+ var URL = 'playground/src/template_driven_forms/index.html';
it('should display errors', function() {
browser.get(URL);
diff --git a/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.dart b/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.dart
new file mode 100644
index 0000000000..bd9deff9b1
--- /dev/null
+++ b/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.web_workers.kitchen_sink_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts b/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts
similarity index 96%
rename from modules/examples/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts
rename to modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts
index d6713f0f02..51e7be0534 100644
--- a/modules/examples/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts
+++ b/modules/playground/e2e_test/web_workers/kitchen_sink/kitchen_sink_spec.ts
@@ -7,7 +7,7 @@ describe('WebWorkers Kitchen Sink', function() {
browser.ignoreSynchronization = false;
});
var selector = "hello-app .greeting";
- var URL = "examples/src/web_workers/kitchen_sink/index.html";
+ var URL = "playground/src/web_workers/kitchen_sink/index.html";
it('should greet', () => {
// This test can't wait for Angular 2 as Testability is not available when using WebWorker
diff --git a/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.dart b/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.dart
new file mode 100644
index 0000000000..b606f0f369
--- /dev/null
+++ b/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.message_bus;
+
+main() {}
diff --git a/modules/examples/e2e_test/web_workers/message_broker/message_broker_spec.ts b/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts
similarity index 94%
rename from modules/examples/e2e_test/web_workers/message_broker/message_broker_spec.ts
rename to modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts
index a2607bbbad..a582cb3a19 100644
--- a/modules/examples/e2e_test/web_workers/message_broker/message_broker_spec.ts
+++ b/modules/playground/e2e_test/web_workers/message_broker/message_broker_spec.ts
@@ -1,7 +1,7 @@
import {verifyNoBrowserErrors} from "angular2/src/testing/e2e_util";
import {PromiseWrapper} from "angular2/src/core/facade/async";
-var URL = 'examples/src/web_workers/message_broker/index.html';
+var URL = 'playground/src/web_workers/message_broker/index.html';
describe("MessageBroker", function() {
diff --git a/modules/playground/e2e_test/web_workers/todo/todo_spec.dart b/modules/playground/e2e_test/web_workers/todo/todo_spec.dart
new file mode 100644
index 0000000000..36d8df17da
--- /dev/null
+++ b/modules/playground/e2e_test/web_workers/todo/todo_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.web_workers.todo_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/web_workers/todo/todo_spec.ts b/modules/playground/e2e_test/web_workers/todo/todo_spec.ts
similarity index 92%
rename from modules/examples/e2e_test/web_workers/todo/todo_spec.ts
rename to modules/playground/e2e_test/web_workers/todo/todo_spec.ts
index 937fa7b773..74be363c0f 100644
--- a/modules/examples/e2e_test/web_workers/todo/todo_spec.ts
+++ b/modules/playground/e2e_test/web_workers/todo/todo_spec.ts
@@ -7,7 +7,7 @@ describe('WebWorkers Todo', function() {
browser.ignoreSynchronization = false;
});
- var URL = "examples/src/web_workers/todo/index.html";
+ var URL = "playground/src/web_workers/todo/index.html";
it('should bootstrap', () => {
// This test can't wait for Angular 2 as Testability is not available when using WebWorker
diff --git a/modules/playground/e2e_test/zippy_component/zippy_spec.dart b/modules/playground/e2e_test/zippy_component/zippy_spec.dart
new file mode 100644
index 0000000000..480b07867c
--- /dev/null
+++ b/modules/playground/e2e_test/zippy_component/zippy_spec.dart
@@ -0,0 +1,3 @@
+library playground.e2e_test.zippy_component.zippy_spec;
+
+main() {}
diff --git a/modules/examples/e2e_test/zippy_component/zippy_spec.ts b/modules/playground/e2e_test/zippy_component/zippy_spec.ts
similarity index 94%
rename from modules/examples/e2e_test/zippy_component/zippy_spec.ts
rename to modules/playground/e2e_test/zippy_component/zippy_spec.ts
index 691b35c21e..ff8aa7b9c6 100644
--- a/modules/examples/e2e_test/zippy_component/zippy_spec.ts
+++ b/modules/playground/e2e_test/zippy_component/zippy_spec.ts
@@ -5,7 +5,7 @@ describe('Zippy Component', function() {
afterEach(verifyNoBrowserErrors);
describe('zippy', function() {
- var URL = 'examples/src/zippy_component/index.html';
+ var URL = 'playground/src/zippy_component/index.html';
beforeEach(function() { browser.get(URL); });
diff --git a/modules/examples/pubspec.yaml b/modules/playground/pubspec.yaml
similarity index 99%
rename from modules/examples/pubspec.yaml
rename to modules/playground/pubspec.yaml
index e5ce0a3fa1..282b055e36 100644
--- a/modules/examples/pubspec.yaml
+++ b/modules/playground/pubspec.yaml
@@ -1,4 +1,4 @@
-name: examples
+name: playground
environment:
sdk: '>=1.10.0 <2.0.0'
dependencies:
diff --git a/modules/examples/src/animate/animate-app.ts b/modules/playground/src/animate/animate-app.ts
similarity index 100%
rename from modules/examples/src/animate/animate-app.ts
rename to modules/playground/src/animate/animate-app.ts
diff --git a/modules/examples/src/animate/css/app.css b/modules/playground/src/animate/css/app.css
similarity index 100%
rename from modules/examples/src/animate/css/app.css
rename to modules/playground/src/animate/css/app.css
diff --git a/modules/examples/src/animate/index.html b/modules/playground/src/animate/index.html
similarity index 82%
rename from modules/examples/src/animate/index.html
rename to modules/playground/src/animate/index.html
index cdd04ab719..da2500d629 100644
--- a/modules/examples/src/animate/index.html
+++ b/modules/playground/src/animate/index.html
@@ -2,7 +2,7 @@
Animation Example
-
+
Loading...
$SCRIPTS$
diff --git a/modules/examples/src/animate/index.ts b/modules/playground/src/animate/index.ts
similarity index 100%
rename from modules/examples/src/animate/index.ts
rename to modules/playground/src/animate/index.ts
diff --git a/modules/examples/src/async/index.html b/modules/playground/src/async/index.html
similarity index 100%
rename from modules/examples/src/async/index.html
rename to modules/playground/src/async/index.html
diff --git a/modules/examples/src/async/index.ts b/modules/playground/src/async/index.ts
similarity index 100%
rename from modules/examples/src/async/index.ts
rename to modules/playground/src/async/index.ts
diff --git a/modules/examples/src/benchpress/index.html b/modules/playground/src/benchpress/index.html
similarity index 100%
rename from modules/examples/src/benchpress/index.html
rename to modules/playground/src/benchpress/index.html
diff --git a/modules/examples/src/gestures/index.html b/modules/playground/src/gestures/index.html
similarity index 100%
rename from modules/examples/src/gestures/index.html
rename to modules/playground/src/gestures/index.html
diff --git a/modules/examples/src/gestures/index.ts b/modules/playground/src/gestures/index.ts
similarity index 100%
rename from modules/examples/src/gestures/index.ts
rename to modules/playground/src/gestures/index.ts
diff --git a/modules/examples/src/gestures/template.html b/modules/playground/src/gestures/template.html
similarity index 100%
rename from modules/examples/src/gestures/template.html
rename to modules/playground/src/gestures/template.html
diff --git a/modules/examples/src/hello_world/index.html b/modules/playground/src/hello_world/index.html
similarity index 100%
rename from modules/examples/src/hello_world/index.html
rename to modules/playground/src/hello_world/index.html
diff --git a/modules/examples/src/hello_world/index.ts b/modules/playground/src/hello_world/index.ts
similarity index 100%
rename from modules/examples/src/hello_world/index.ts
rename to modules/playground/src/hello_world/index.ts
diff --git a/modules/examples/src/http/http_comp.ts b/modules/playground/src/http/http_comp.ts
similarity index 100%
rename from modules/examples/src/http/http_comp.ts
rename to modules/playground/src/http/http_comp.ts
diff --git a/modules/examples/src/http/index.html b/modules/playground/src/http/index.html
similarity index 100%
rename from modules/examples/src/http/index.html
rename to modules/playground/src/http/index.html
diff --git a/modules/examples/src/http/index.ts b/modules/playground/src/http/index.ts
similarity index 100%
rename from modules/examples/src/http/index.ts
rename to modules/playground/src/http/index.ts
diff --git a/modules/examples/src/http/people.json b/modules/playground/src/http/people.json
similarity index 100%
rename from modules/examples/src/http/people.json
rename to modules/playground/src/http/people.json
diff --git a/modules/examples/src/jsonp/index.html b/modules/playground/src/jsonp/index.html
similarity index 100%
rename from modules/examples/src/jsonp/index.html
rename to modules/playground/src/jsonp/index.html
diff --git a/modules/examples/src/jsonp/index.ts b/modules/playground/src/jsonp/index.ts
similarity index 100%
rename from modules/examples/src/jsonp/index.ts
rename to modules/playground/src/jsonp/index.ts
diff --git a/modules/examples/src/jsonp/jsonp_comp.ts b/modules/playground/src/jsonp/jsonp_comp.ts
similarity index 100%
rename from modules/examples/src/jsonp/jsonp_comp.ts
rename to modules/playground/src/jsonp/jsonp_comp.ts
diff --git a/modules/examples/src/jsonp/people.json b/modules/playground/src/jsonp/people.json
similarity index 100%
rename from modules/examples/src/jsonp/people.json
rename to modules/playground/src/jsonp/people.json
diff --git a/modules/examples/src/key_events/index.html b/modules/playground/src/key_events/index.html
similarity index 100%
rename from modules/examples/src/key_events/index.html
rename to modules/playground/src/key_events/index.html
diff --git a/modules/examples/src/key_events/index.ts b/modules/playground/src/key_events/index.ts
similarity index 100%
rename from modules/examples/src/key_events/index.ts
rename to modules/playground/src/key_events/index.ts
diff --git a/modules/examples/src/material/.clang-format b/modules/playground/src/material/.clang-format
similarity index 100%
rename from modules/examples/src/material/.clang-format
rename to modules/playground/src/material/.clang-format
diff --git a/modules/examples/src/material/button/demo_app.html b/modules/playground/src/material/button/demo_app.html
similarity index 100%
rename from modules/examples/src/material/button/demo_app.html
rename to modules/playground/src/material/button/demo_app.html
diff --git a/modules/examples/src/material/button/index.html b/modules/playground/src/material/button/index.html
similarity index 100%
rename from modules/examples/src/material/button/index.html
rename to modules/playground/src/material/button/index.html
diff --git a/modules/examples/src/material/button/index.ts b/modules/playground/src/material/button/index.ts
similarity index 100%
rename from modules/examples/src/material/button/index.ts
rename to modules/playground/src/material/button/index.ts
diff --git a/modules/examples/src/material/checkbox/demo_app.html b/modules/playground/src/material/checkbox/demo_app.html
similarity index 100%
rename from modules/examples/src/material/checkbox/demo_app.html
rename to modules/playground/src/material/checkbox/demo_app.html
diff --git a/modules/examples/src/material/checkbox/index.html b/modules/playground/src/material/checkbox/index.html
similarity index 100%
rename from modules/examples/src/material/checkbox/index.html
rename to modules/playground/src/material/checkbox/index.html
diff --git a/modules/examples/src/material/checkbox/index.ts b/modules/playground/src/material/checkbox/index.ts
similarity index 100%
rename from modules/examples/src/material/checkbox/index.ts
rename to modules/playground/src/material/checkbox/index.ts
diff --git a/modules/examples/src/material/demo_common.dart b/modules/playground/src/material/demo_common.dart
similarity index 100%
rename from modules/examples/src/material/demo_common.dart
rename to modules/playground/src/material/demo_common.dart
diff --git a/modules/examples/src/material/demo_common.ts b/modules/playground/src/material/demo_common.ts
similarity index 100%
rename from modules/examples/src/material/demo_common.ts
rename to modules/playground/src/material/demo_common.ts
diff --git a/modules/examples/src/material/dialog/demo_app.html b/modules/playground/src/material/dialog/demo_app.html
similarity index 100%
rename from modules/examples/src/material/dialog/demo_app.html
rename to modules/playground/src/material/dialog/demo_app.html
diff --git a/modules/examples/src/material/dialog/index.html b/modules/playground/src/material/dialog/index.html
similarity index 100%
rename from modules/examples/src/material/dialog/index.html
rename to modules/playground/src/material/dialog/index.html
diff --git a/modules/examples/src/material/dialog/index.ts b/modules/playground/src/material/dialog/index.ts
similarity index 100%
rename from modules/examples/src/material/dialog/index.ts
rename to modules/playground/src/material/dialog/index.ts
diff --git a/modules/examples/src/material/grid_list/demo_app.html b/modules/playground/src/material/grid_list/demo_app.html
similarity index 100%
rename from modules/examples/src/material/grid_list/demo_app.html
rename to modules/playground/src/material/grid_list/demo_app.html
diff --git a/modules/examples/src/material/grid_list/index.html b/modules/playground/src/material/grid_list/index.html
similarity index 100%
rename from modules/examples/src/material/grid_list/index.html
rename to modules/playground/src/material/grid_list/index.html
diff --git a/modules/examples/src/material/grid_list/index.ts b/modules/playground/src/material/grid_list/index.ts
similarity index 100%
rename from modules/examples/src/material/grid_list/index.ts
rename to modules/playground/src/material/grid_list/index.ts
diff --git a/modules/examples/src/material/input/demo_app.html b/modules/playground/src/material/input/demo_app.html
similarity index 100%
rename from modules/examples/src/material/input/demo_app.html
rename to modules/playground/src/material/input/demo_app.html
diff --git a/modules/examples/src/material/input/index.html b/modules/playground/src/material/input/index.html
similarity index 100%
rename from modules/examples/src/material/input/index.html
rename to modules/playground/src/material/input/index.html
diff --git a/modules/examples/src/material/input/index.ts b/modules/playground/src/material/input/index.ts
similarity index 100%
rename from modules/examples/src/material/input/index.ts
rename to modules/playground/src/material/input/index.ts
diff --git a/modules/examples/src/material/progress-linear/demo_app.html b/modules/playground/src/material/progress-linear/demo_app.html
similarity index 100%
rename from modules/examples/src/material/progress-linear/demo_app.html
rename to modules/playground/src/material/progress-linear/demo_app.html
diff --git a/modules/examples/src/material/progress-linear/index.html b/modules/playground/src/material/progress-linear/index.html
similarity index 100%
rename from modules/examples/src/material/progress-linear/index.html
rename to modules/playground/src/material/progress-linear/index.html
diff --git a/modules/examples/src/material/progress-linear/index.ts b/modules/playground/src/material/progress-linear/index.ts
similarity index 100%
rename from modules/examples/src/material/progress-linear/index.ts
rename to modules/playground/src/material/progress-linear/index.ts
diff --git a/modules/examples/src/material/radio/demo_app.html b/modules/playground/src/material/radio/demo_app.html
similarity index 100%
rename from modules/examples/src/material/radio/demo_app.html
rename to modules/playground/src/material/radio/demo_app.html
diff --git a/modules/examples/src/material/radio/index.html b/modules/playground/src/material/radio/index.html
similarity index 100%
rename from modules/examples/src/material/radio/index.html
rename to modules/playground/src/material/radio/index.html
diff --git a/modules/examples/src/material/radio/index.ts b/modules/playground/src/material/radio/index.ts
similarity index 100%
rename from modules/examples/src/material/radio/index.ts
rename to modules/playground/src/material/radio/index.ts
diff --git a/modules/examples/src/material/switcher/demo_app.html b/modules/playground/src/material/switcher/demo_app.html
similarity index 100%
rename from modules/examples/src/material/switcher/demo_app.html
rename to modules/playground/src/material/switcher/demo_app.html
diff --git a/modules/examples/src/material/switcher/index.html b/modules/playground/src/material/switcher/index.html
similarity index 100%
rename from modules/examples/src/material/switcher/index.html
rename to modules/playground/src/material/switcher/index.html
diff --git a/modules/examples/src/material/switcher/index.ts b/modules/playground/src/material/switcher/index.ts
similarity index 100%
rename from modules/examples/src/material/switcher/index.ts
rename to modules/playground/src/material/switcher/index.ts
diff --git a/modules/examples/src/model_driven_forms/index.html b/modules/playground/src/model_driven_forms/index.html
similarity index 100%
rename from modules/examples/src/model_driven_forms/index.html
rename to modules/playground/src/model_driven_forms/index.html
diff --git a/modules/examples/src/model_driven_forms/index.ts b/modules/playground/src/model_driven_forms/index.ts
similarity index 100%
rename from modules/examples/src/model_driven_forms/index.ts
rename to modules/playground/src/model_driven_forms/index.ts
diff --git a/modules/examples/src/observable_models/app.dart b/modules/playground/src/observable_models/app.dart
similarity index 100%
rename from modules/examples/src/observable_models/app.dart
rename to modules/playground/src/observable_models/app.dart
diff --git a/modules/examples/src/observable_models/cells.dart b/modules/playground/src/observable_models/cells.dart
similarity index 100%
rename from modules/examples/src/observable_models/cells.dart
rename to modules/playground/src/observable_models/cells.dart
diff --git a/modules/examples/src/observable_models/common.dart b/modules/playground/src/observable_models/common.dart
similarity index 100%
rename from modules/examples/src/observable_models/common.dart
rename to modules/playground/src/observable_models/common.dart
diff --git a/modules/examples/src/observable_models/index.dart b/modules/playground/src/observable_models/index.dart
similarity index 100%
rename from modules/examples/src/observable_models/index.dart
rename to modules/playground/src/observable_models/index.dart
diff --git a/modules/examples/src/observable_models/index.html b/modules/playground/src/observable_models/index.html
similarity index 100%
rename from modules/examples/src/observable_models/index.html
rename to modules/playground/src/observable_models/index.html
diff --git a/modules/examples/src/observable_models/random_data.dart b/modules/playground/src/observable_models/random_data.dart
similarity index 100%
rename from modules/examples/src/observable_models/random_data.dart
rename to modules/playground/src/observable_models/random_data.dart
diff --git a/modules/examples/src/observable_models/scroll_area.dart b/modules/playground/src/observable_models/scroll_area.dart
similarity index 100%
rename from modules/examples/src/observable_models/scroll_area.dart
rename to modules/playground/src/observable_models/scroll_area.dart
diff --git a/modules/examples/src/observable_models/scroll_item.dart b/modules/playground/src/observable_models/scroll_item.dart
similarity index 100%
rename from modules/examples/src/observable_models/scroll_item.dart
rename to modules/playground/src/observable_models/scroll_item.dart
diff --git a/modules/examples/src/observable_models/url_params_to_form.js b/modules/playground/src/observable_models/url_params_to_form.js
similarity index 100%
rename from modules/examples/src/observable_models/url_params_to_form.js
rename to modules/playground/src/observable_models/url_params_to_form.js
diff --git a/modules/examples/src/order_management/index.html b/modules/playground/src/order_management/index.html
similarity index 100%
rename from modules/examples/src/order_management/index.html
rename to modules/playground/src/order_management/index.html
diff --git a/modules/examples/src/order_management/index.ts b/modules/playground/src/order_management/index.ts
similarity index 100%
rename from modules/examples/src/order_management/index.ts
rename to modules/playground/src/order_management/index.ts
diff --git a/modules/examples/src/person_management/index.html b/modules/playground/src/person_management/index.html
similarity index 100%
rename from modules/examples/src/person_management/index.html
rename to modules/playground/src/person_management/index.html
diff --git a/modules/examples/src/person_management/index.ts b/modules/playground/src/person_management/index.ts
similarity index 100%
rename from modules/examples/src/person_management/index.ts
rename to modules/playground/src/person_management/index.ts
diff --git a/modules/examples/src/routing/css/app.css b/modules/playground/src/routing/css/app.css
similarity index 100%
rename from modules/examples/src/routing/css/app.css
rename to modules/playground/src/routing/css/app.css
diff --git a/modules/examples/src/routing/data.ts b/modules/playground/src/routing/data.ts
similarity index 100%
rename from modules/examples/src/routing/data.ts
rename to modules/playground/src/routing/data.ts
diff --git a/modules/examples/src/routing/drafts.html b/modules/playground/src/routing/drafts.html
similarity index 100%
rename from modules/examples/src/routing/drafts.html
rename to modules/playground/src/routing/drafts.html
diff --git a/modules/examples/src/routing/inbox-app.html b/modules/playground/src/routing/inbox-app.html
similarity index 100%
rename from modules/examples/src/routing/inbox-app.html
rename to modules/playground/src/routing/inbox-app.html
diff --git a/modules/examples/src/routing/inbox-app.ts b/modules/playground/src/routing/inbox-app.ts
similarity index 100%
rename from modules/examples/src/routing/inbox-app.ts
rename to modules/playground/src/routing/inbox-app.ts
diff --git a/modules/examples/src/routing/inbox-detail.html b/modules/playground/src/routing/inbox-detail.html
similarity index 100%
rename from modules/examples/src/routing/inbox-detail.html
rename to modules/playground/src/routing/inbox-detail.html
diff --git a/modules/examples/src/routing/inbox.html b/modules/playground/src/routing/inbox.html
similarity index 100%
rename from modules/examples/src/routing/inbox.html
rename to modules/playground/src/routing/inbox.html
diff --git a/modules/examples/src/routing/index.html b/modules/playground/src/routing/index.html
similarity index 88%
rename from modules/examples/src/routing/index.html
rename to modules/playground/src/routing/index.html
index 4e2f0a71de..2349f350d4 100644
--- a/modules/examples/src/routing/index.html
+++ b/modules/playground/src/routing/index.html
@@ -3,7 +3,7 @@
Routing Example
-
+
Loading...
diff --git a/modules/examples/src/routing/index.ts b/modules/playground/src/routing/index.ts
similarity index 100%
rename from modules/examples/src/routing/index.ts
rename to modules/playground/src/routing/index.ts
diff --git a/modules/examples/src/sourcemap/index.html b/modules/playground/src/sourcemap/index.html
similarity index 100%
rename from modules/examples/src/sourcemap/index.html
rename to modules/playground/src/sourcemap/index.html
diff --git a/modules/examples/src/sourcemap/index.ts b/modules/playground/src/sourcemap/index.ts
similarity index 100%
rename from modules/examples/src/sourcemap/index.ts
rename to modules/playground/src/sourcemap/index.ts
diff --git a/modules/examples/src/template_driven_forms/index.html b/modules/playground/src/template_driven_forms/index.html
similarity index 100%
rename from modules/examples/src/template_driven_forms/index.html
rename to modules/playground/src/template_driven_forms/index.html
diff --git a/modules/examples/src/template_driven_forms/index.ts b/modules/playground/src/template_driven_forms/index.ts
similarity index 100%
rename from modules/examples/src/template_driven_forms/index.ts
rename to modules/playground/src/template_driven_forms/index.ts
diff --git a/modules/examples/src/todo/css/base.css b/modules/playground/src/todo/css/base.css
similarity index 100%
rename from modules/examples/src/todo/css/base.css
rename to modules/playground/src/todo/css/base.css
diff --git a/modules/examples/src/todo/css/bg.png b/modules/playground/src/todo/css/bg.png
similarity index 100%
rename from modules/examples/src/todo/css/bg.png
rename to modules/playground/src/todo/css/bg.png
diff --git a/modules/examples/src/todo/css/main.css b/modules/playground/src/todo/css/main.css
similarity index 100%
rename from modules/examples/src/todo/css/main.css
rename to modules/playground/src/todo/css/main.css
diff --git a/modules/examples/src/todo/index.html b/modules/playground/src/todo/index.html
similarity index 100%
rename from modules/examples/src/todo/index.html
rename to modules/playground/src/todo/index.html
diff --git a/modules/examples/src/todo/index.ts b/modules/playground/src/todo/index.ts
similarity index 100%
rename from modules/examples/src/todo/index.ts
rename to modules/playground/src/todo/index.ts
diff --git a/modules/examples/src/todo/services/TodoStore.ts b/modules/playground/src/todo/services/TodoStore.ts
similarity index 100%
rename from modules/examples/src/todo/services/TodoStore.ts
rename to modules/playground/src/todo/services/TodoStore.ts
diff --git a/modules/examples/src/todo/todo.html b/modules/playground/src/todo/todo.html
similarity index 100%
rename from modules/examples/src/todo/todo.html
rename to modules/playground/src/todo/todo.html
diff --git a/modules/examples/src/web_workers/images/b64.d.ts b/modules/playground/src/web_workers/images/b64.d.ts
similarity index 100%
rename from modules/examples/src/web_workers/images/b64.d.ts
rename to modules/playground/src/web_workers/images/b64.d.ts
diff --git a/modules/examples/src/web_workers/images/background_index.dart b/modules/playground/src/web_workers/images/background_index.dart
similarity index 89%
rename from modules/examples/src/web_workers/images/background_index.dart
rename to modules/playground/src/web_workers/images/background_index.dart
index 0532379b03..bc4618061b 100644
--- a/modules/examples/src/web_workers/images/background_index.dart
+++ b/modules/playground/src/web_workers/images/background_index.dart
@@ -1,4 +1,4 @@
-library examples.src.web_workers.images.background_index;
+library playground.src.web_workers.images.background_index;
import "index_common.dart" show ImageDemo;
import "dart:isolate";
diff --git a/modules/examples/src/web_workers/images/background_index.ts b/modules/playground/src/web_workers/images/background_index.ts
similarity index 100%
rename from modules/examples/src/web_workers/images/background_index.ts
rename to modules/playground/src/web_workers/images/background_index.ts
diff --git a/modules/examples/src/web_workers/images/bitmap.d.ts b/modules/playground/src/web_workers/images/bitmap.d.ts
similarity index 100%
rename from modules/examples/src/web_workers/images/bitmap.d.ts
rename to modules/playground/src/web_workers/images/bitmap.d.ts
diff --git a/modules/examples/src/web_workers/images/bitmap.js b/modules/playground/src/web_workers/images/bitmap.js
similarity index 100%
rename from modules/examples/src/web_workers/images/bitmap.js
rename to modules/playground/src/web_workers/images/bitmap.js
diff --git a/modules/examples/src/web_workers/images/file_api.dart b/modules/playground/src/web_workers/images/file_api.dart
similarity index 100%
rename from modules/examples/src/web_workers/images/file_api.dart
rename to modules/playground/src/web_workers/images/file_api.dart
diff --git a/modules/examples/src/web_workers/images/file_api.ts b/modules/playground/src/web_workers/images/file_api.ts
similarity index 100%
rename from modules/examples/src/web_workers/images/file_api.ts
rename to modules/playground/src/web_workers/images/file_api.ts
diff --git a/modules/examples/src/web_workers/images/image_demo.css b/modules/playground/src/web_workers/images/image_demo.css
similarity index 100%
rename from modules/examples/src/web_workers/images/image_demo.css
rename to modules/playground/src/web_workers/images/image_demo.css
diff --git a/modules/examples/src/web_workers/images/image_demo.html b/modules/playground/src/web_workers/images/image_demo.html
similarity index 100%
rename from modules/examples/src/web_workers/images/image_demo.html
rename to modules/playground/src/web_workers/images/image_demo.html
diff --git a/modules/examples/src/web_workers/images/index.dart b/modules/playground/src/web_workers/images/index.dart
similarity index 100%
rename from modules/examples/src/web_workers/images/index.dart
rename to modules/playground/src/web_workers/images/index.dart
diff --git a/modules/examples/src/web_workers/images/index.html b/modules/playground/src/web_workers/images/index.html
similarity index 100%
rename from modules/examples/src/web_workers/images/index.html
rename to modules/playground/src/web_workers/images/index.html
diff --git a/modules/examples/src/web_workers/images/index.ts b/modules/playground/src/web_workers/images/index.ts
similarity index 100%
rename from modules/examples/src/web_workers/images/index.ts
rename to modules/playground/src/web_workers/images/index.ts
diff --git a/modules/examples/src/web_workers/images/index_common.ts b/modules/playground/src/web_workers/images/index_common.ts
similarity index 100%
rename from modules/examples/src/web_workers/images/index_common.ts
rename to modules/playground/src/web_workers/images/index_common.ts
diff --git a/modules/examples/src/web_workers/images/loader.css b/modules/playground/src/web_workers/images/loader.css
similarity index 100%
rename from modules/examples/src/web_workers/images/loader.css
rename to modules/playground/src/web_workers/images/loader.css
diff --git a/modules/examples/src/web_workers/images/loader.js b/modules/playground/src/web_workers/images/loader.js
similarity index 84%
rename from modules/examples/src/web_workers/images/loader.js
rename to modules/playground/src/web_workers/images/loader.js
index afefe01d83..3010c68fce 100644
--- a/modules/examples/src/web_workers/images/loader.js
+++ b/modules/playground/src/web_workers/images/loader.js
@@ -7,7 +7,7 @@ System.config({
defaultJSExtensions: true
});
-System.import("examples/src/web_workers/images/background_index")
+System.import("playground/src/web_workers/images/background_index")
.then(
function(m) {
console.log("running main");
diff --git a/modules/examples/src/web_workers/images/services/bitmap.dart b/modules/playground/src/web_workers/images/services/bitmap.dart
similarity index 100%
rename from modules/examples/src/web_workers/images/services/bitmap.dart
rename to modules/playground/src/web_workers/images/services/bitmap.dart
diff --git a/modules/examples/src/web_workers/images/services/bitmap.ts b/modules/playground/src/web_workers/images/services/bitmap.ts
similarity index 100%
rename from modules/examples/src/web_workers/images/services/bitmap.ts
rename to modules/playground/src/web_workers/images/services/bitmap.ts
diff --git a/modules/examples/src/web_workers/images/single_thread.html b/modules/playground/src/web_workers/images/single_thread.html
similarity index 100%
rename from modules/examples/src/web_workers/images/single_thread.html
rename to modules/playground/src/web_workers/images/single_thread.html
diff --git a/modules/examples/src/web_workers/images/single_thread.ts b/modules/playground/src/web_workers/images/single_thread.ts
similarity index 100%
rename from modules/examples/src/web_workers/images/single_thread.ts
rename to modules/playground/src/web_workers/images/single_thread.ts
diff --git a/modules/examples/src/web_workers/kitchen_sink/background_index.dart b/modules/playground/src/web_workers/kitchen_sink/background_index.dart
similarity index 88%
rename from modules/examples/src/web_workers/kitchen_sink/background_index.dart
rename to modules/playground/src/web_workers/kitchen_sink/background_index.dart
index a1627b8d70..7322f74e57 100644
--- a/modules/examples/src/web_workers/kitchen_sink/background_index.dart
+++ b/modules/playground/src/web_workers/kitchen_sink/background_index.dart
@@ -1,4 +1,4 @@
-library examples.src.web_workers.kitchen_sink.background_index;
+library playground.src.web_workers.kitchen_sink.background_index;
import "index_common.dart" show HelloCmp;
import "dart:isolate";
diff --git a/modules/examples/src/web_workers/kitchen_sink/background_index.ts b/modules/playground/src/web_workers/kitchen_sink/background_index.ts
similarity index 100%
rename from modules/examples/src/web_workers/kitchen_sink/background_index.ts
rename to modules/playground/src/web_workers/kitchen_sink/background_index.ts
diff --git a/modules/examples/src/web_workers/kitchen_sink/index.dart b/modules/playground/src/web_workers/kitchen_sink/index.dart
similarity index 100%
rename from modules/examples/src/web_workers/kitchen_sink/index.dart
rename to modules/playground/src/web_workers/kitchen_sink/index.dart
diff --git a/modules/examples/src/web_workers/kitchen_sink/index.html b/modules/playground/src/web_workers/kitchen_sink/index.html
similarity index 100%
rename from modules/examples/src/web_workers/kitchen_sink/index.html
rename to modules/playground/src/web_workers/kitchen_sink/index.html
diff --git a/modules/examples/src/web_workers/kitchen_sink/index.ts b/modules/playground/src/web_workers/kitchen_sink/index.ts
similarity index 100%
rename from modules/examples/src/web_workers/kitchen_sink/index.ts
rename to modules/playground/src/web_workers/kitchen_sink/index.ts
diff --git a/modules/examples/src/web_workers/kitchen_sink/index_common.ts b/modules/playground/src/web_workers/kitchen_sink/index_common.ts
similarity index 100%
rename from modules/examples/src/web_workers/kitchen_sink/index_common.ts
rename to modules/playground/src/web_workers/kitchen_sink/index_common.ts
diff --git a/modules/examples/src/web_workers/message_broker/loader.js b/modules/playground/src/web_workers/kitchen_sink/loader.js
similarity index 84%
rename from modules/examples/src/web_workers/message_broker/loader.js
rename to modules/playground/src/web_workers/kitchen_sink/loader.js
index 3ef216941d..d6eaefcbb9 100644
--- a/modules/examples/src/web_workers/message_broker/loader.js
+++ b/modules/playground/src/web_workers/kitchen_sink/loader.js
@@ -5,7 +5,7 @@ System.config({
defaultJSExtensions: true
});
-System.import("examples/src/web_workers/message_broker/background_index")
+System.import("playground/src/web_workers/kitchen_sink/background_index")
.then(
function(m) {
console.log("running main");
diff --git a/modules/examples/src/web_workers/message_broker/background_index.dart b/modules/playground/src/web_workers/message_broker/background_index.dart
similarity index 100%
rename from modules/examples/src/web_workers/message_broker/background_index.dart
rename to modules/playground/src/web_workers/message_broker/background_index.dart
diff --git a/modules/examples/src/web_workers/message_broker/background_index.ts b/modules/playground/src/web_workers/message_broker/background_index.ts
similarity index 100%
rename from modules/examples/src/web_workers/message_broker/background_index.ts
rename to modules/playground/src/web_workers/message_broker/background_index.ts
diff --git a/modules/examples/src/web_workers/message_broker/index.dart b/modules/playground/src/web_workers/message_broker/index.dart
similarity index 100%
rename from modules/examples/src/web_workers/message_broker/index.dart
rename to modules/playground/src/web_workers/message_broker/index.dart
diff --git a/modules/examples/src/web_workers/message_broker/index.html b/modules/playground/src/web_workers/message_broker/index.html
similarity index 100%
rename from modules/examples/src/web_workers/message_broker/index.html
rename to modules/playground/src/web_workers/message_broker/index.html
diff --git a/modules/examples/src/web_workers/message_broker/index.ts b/modules/playground/src/web_workers/message_broker/index.ts
similarity index 100%
rename from modules/examples/src/web_workers/message_broker/index.ts
rename to modules/playground/src/web_workers/message_broker/index.ts
diff --git a/modules/examples/src/web_workers/message_broker/index_common.ts b/modules/playground/src/web_workers/message_broker/index_common.ts
similarity index 100%
rename from modules/examples/src/web_workers/message_broker/index_common.ts
rename to modules/playground/src/web_workers/message_broker/index_common.ts
diff --git a/modules/examples/src/web_workers/kitchen_sink/loader.js b/modules/playground/src/web_workers/message_broker/loader.js
similarity index 81%
rename from modules/examples/src/web_workers/kitchen_sink/loader.js
rename to modules/playground/src/web_workers/message_broker/loader.js
index 114168708a..494006761a 100644
--- a/modules/examples/src/web_workers/kitchen_sink/loader.js
+++ b/modules/playground/src/web_workers/message_broker/loader.js
@@ -5,7 +5,7 @@ System.config({
defaultJSExtensions: true
});
-System.import("examples/src/web_workers/kitchen_sink/background_index")
+System.import("playground/src/web_workers/message_broker/background_index")
.then(
function(m) {
console.log("running main");
diff --git a/modules/examples/src/web_workers/todo/background_index.dart b/modules/playground/src/web_workers/todo/background_index.dart
similarity index 89%
rename from modules/examples/src/web_workers/todo/background_index.dart
rename to modules/playground/src/web_workers/todo/background_index.dart
index 8646db3ae7..c30e78538c 100644
--- a/modules/examples/src/web_workers/todo/background_index.dart
+++ b/modules/playground/src/web_workers/todo/background_index.dart
@@ -1,4 +1,4 @@
-library examples.src.web_workers.todo.background_index;
+library playground.src.web_workers.todo.background_index;
import "index_common.dart" show TodoApp;
import "dart:isolate";
diff --git a/modules/examples/src/web_workers/todo/background_index.ts b/modules/playground/src/web_workers/todo/background_index.ts
similarity index 100%
rename from modules/examples/src/web_workers/todo/background_index.ts
rename to modules/playground/src/web_workers/todo/background_index.ts
diff --git a/modules/examples/src/web_workers/todo/css/bg.png b/modules/playground/src/web_workers/todo/css/bg.png
similarity index 100%
rename from modules/examples/src/web_workers/todo/css/bg.png
rename to modules/playground/src/web_workers/todo/css/bg.png
diff --git a/modules/examples/src/web_workers/todo/css/main.css b/modules/playground/src/web_workers/todo/css/main.css
similarity index 100%
rename from modules/examples/src/web_workers/todo/css/main.css
rename to modules/playground/src/web_workers/todo/css/main.css
diff --git a/modules/examples/src/web_workers/todo/index.dart b/modules/playground/src/web_workers/todo/index.dart
similarity index 100%
rename from modules/examples/src/web_workers/todo/index.dart
rename to modules/playground/src/web_workers/todo/index.dart
diff --git a/modules/examples/src/web_workers/todo/index.html b/modules/playground/src/web_workers/todo/index.html
similarity index 100%
rename from modules/examples/src/web_workers/todo/index.html
rename to modules/playground/src/web_workers/todo/index.html
diff --git a/modules/examples/src/web_workers/todo/index.ts b/modules/playground/src/web_workers/todo/index.ts
similarity index 100%
rename from modules/examples/src/web_workers/todo/index.ts
rename to modules/playground/src/web_workers/todo/index.ts
diff --git a/modules/examples/src/web_workers/todo/index_common.ts b/modules/playground/src/web_workers/todo/index_common.ts
similarity index 100%
rename from modules/examples/src/web_workers/todo/index_common.ts
rename to modules/playground/src/web_workers/todo/index_common.ts
diff --git a/modules/examples/src/web_workers/todo/index_web_socket.dart b/modules/playground/src/web_workers/todo/index_web_socket.dart
similarity index 100%
rename from modules/examples/src/web_workers/todo/index_web_socket.dart
rename to modules/playground/src/web_workers/todo/index_web_socket.dart
diff --git a/modules/examples/src/web_workers/todo/index_web_socket.html b/modules/playground/src/web_workers/todo/index_web_socket.html
similarity index 100%
rename from modules/examples/src/web_workers/todo/index_web_socket.html
rename to modules/playground/src/web_workers/todo/index_web_socket.html
diff --git a/modules/examples/src/web_workers/todo/loader.js b/modules/playground/src/web_workers/todo/loader.js
similarity index 83%
rename from modules/examples/src/web_workers/todo/loader.js
rename to modules/playground/src/web_workers/todo/loader.js
index 6549de0926..6c62089a1e 100644
--- a/modules/examples/src/web_workers/todo/loader.js
+++ b/modules/playground/src/web_workers/todo/loader.js
@@ -5,7 +5,7 @@ System.config({
defaultJSExtensions: true
});
-System.import("examples/src/web_workers/todo/background_index")
+System.import("playground/src/web_workers/todo/background_index")
.then(
function(m) {
console.log("running main");
diff --git a/modules/examples/src/web_workers/todo/server_index.dart b/modules/playground/src/web_workers/todo/server_index.dart
similarity index 100%
rename from modules/examples/src/web_workers/todo/server_index.dart
rename to modules/playground/src/web_workers/todo/server_index.dart
diff --git a/modules/examples/src/web_workers/todo/services/TodoStore.ts b/modules/playground/src/web_workers/todo/services/TodoStore.ts
similarity index 100%
rename from modules/examples/src/web_workers/todo/services/TodoStore.ts
rename to modules/playground/src/web_workers/todo/services/TodoStore.ts
diff --git a/modules/examples/src/web_workers/todo/todo.html b/modules/playground/src/web_workers/todo/todo.html
similarity index 100%
rename from modules/examples/src/web_workers/todo/todo.html
rename to modules/playground/src/web_workers/todo/todo.html
diff --git a/modules/examples/src/zippy_component/index.html b/modules/playground/src/zippy_component/index.html
similarity index 100%
rename from modules/examples/src/zippy_component/index.html
rename to modules/playground/src/zippy_component/index.html
diff --git a/modules/examples/src/zippy_component/index.ts b/modules/playground/src/zippy_component/index.ts
similarity index 100%
rename from modules/examples/src/zippy_component/index.ts
rename to modules/playground/src/zippy_component/index.ts
diff --git a/modules/examples/src/zippy_component/zippy.html b/modules/playground/src/zippy_component/zippy.html
similarity index 100%
rename from modules/examples/src/zippy_component/zippy.html
rename to modules/playground/src/zippy_component/zippy.html
diff --git a/modules/examples/src/zippy_component/zippy.ts b/modules/playground/src/zippy_component/zippy.ts
similarity index 100%
rename from modules/examples/src/zippy_component/zippy.ts
rename to modules/playground/src/zippy_component/zippy.ts
diff --git a/modules/examples/test/benchpress/webdriver_async.server.spec.dart b/modules/playground/test/benchpress/webdriver_async.server.spec.dart
similarity index 95%
rename from modules/examples/test/benchpress/webdriver_async.server.spec.dart
rename to modules/playground/test/benchpress/webdriver_async.server.spec.dart
index 5700443b92..e083207e85 100644
--- a/modules/examples/test/benchpress/webdriver_async.server.spec.dart
+++ b/modules/playground/test/benchpress/webdriver_async.server.spec.dart
@@ -13,7 +13,7 @@ main() {
beforeEach(() async {
driver = await createTestDriver();
await driver
- .get('http://localhost:8002/examples/src/benchpress/index.html');
+ .get('http://localhost:8002/playground/src/benchpress/index.html');
var bindings = [
bind(WebDriverAdapter)
diff --git a/modules_dart/transform/test/transform/deferred_rewriter/complex_deferred_example/hello.dart b/modules_dart/transform/test/transform/deferred_rewriter/complex_deferred_example/hello.dart
index b2728d6bc1..6ea8f87ad9 100644
--- a/modules_dart/transform/test/transform/deferred_rewriter/complex_deferred_example/hello.dart
+++ b/modules_dart/transform/test/transform/deferred_rewriter/complex_deferred_example/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.absolute_url_expression_files;
+library playground.src.hello_world.absolute_url_expression_files;
import 'package:angular2/angular2.dart'
show bootstrap, Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/deferred_rewriter/complex_deferred_example/hello.ng_deps.dart b/modules_dart/transform/test/transform/deferred_rewriter/complex_deferred_example/hello.ng_deps.dart
index 9843cbf09b..9301c5915d 100644
--- a/modules_dart/transform/test/transform/deferred_rewriter/complex_deferred_example/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/deferred_rewriter/complex_deferred_example/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.absolute_url_expression_files.ng_deps.dart;
+library playground.src.hello_world.absolute_url_expression_files.ng_deps.dart;
import 'hello.dart';
export 'hello.dart';
diff --git a/modules_dart/transform/test/transform/deferred_rewriter/deferred_example_no_ng_deps/hello.dart b/modules_dart/transform/test/transform/deferred_rewriter/deferred_example_no_ng_deps/hello.dart
index b2728d6bc1..6ea8f87ad9 100644
--- a/modules_dart/transform/test/transform/deferred_rewriter/deferred_example_no_ng_deps/hello.dart
+++ b/modules_dart/transform/test/transform/deferred_rewriter/deferred_example_no_ng_deps/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.absolute_url_expression_files;
+library playground.src.hello_world.absolute_url_expression_files;
import 'package:angular2/angular2.dart'
show bootstrap, Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/deferred_rewriter/simple_deferred_example/hello.dart b/modules_dart/transform/test/transform/deferred_rewriter/simple_deferred_example/hello.dart
index b2728d6bc1..6ea8f87ad9 100644
--- a/modules_dart/transform/test/transform/deferred_rewriter/simple_deferred_example/hello.dart
+++ b/modules_dart/transform/test/transform/deferred_rewriter/simple_deferred_example/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.absolute_url_expression_files;
+library playground.src.hello_world.absolute_url_expression_files;
import 'package:angular2/angular2.dart'
show bootstrap, Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/deferred_rewriter/simple_deferred_example/hello.ng_deps.dart b/modules_dart/transform/test/transform/deferred_rewriter/simple_deferred_example/hello.ng_deps.dart
index 8db375de78..3c3c3991c4 100644
--- a/modules_dart/transform/test/transform/deferred_rewriter/simple_deferred_example/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/deferred_rewriter/simple_deferred_example/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.absolute_url_expression_files.ng_deps.dart;
+library playground.src.hello_world.absolute_url_expression_files.ng_deps.dart;
import 'hello.dart';
export 'hello.dart';
diff --git a/modules_dart/transform/test/transform/directive_processor/absolute_url_expression_files/hello.dart b/modules_dart/transform/test/transform/directive_processor/absolute_url_expression_files/hello.dart
index 1015364625..1369bc34ff 100644
--- a/modules_dart/transform/test/transform/directive_processor/absolute_url_expression_files/hello.dart
+++ b/modules_dart/transform/test/transform/directive_processor/absolute_url_expression_files/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.absolute_url_expression_files;
+library playground.src.hello_world.absolute_url_expression_files;
import 'package:angular2/angular2.dart'
show Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/directive_processor/directive_aliases_files/hello.dart b/modules_dart/transform/test/transform/directive_processor/directive_aliases_files/hello.dart
index 6f08ea5db7..b1c3b2c1dd 100644
--- a/modules_dart/transform/test/transform/directive_processor/directive_aliases_files/hello.dart
+++ b/modules_dart/transform/test/transform/directive_processor/directive_aliases_files/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.absolute_url_expression_files;
+library playground.src.hello_world.absolute_url_expression_files;
import 'package:angular2/angular2.dart'
show bootstrap, Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/directive_processor/template_files/property.dart b/modules_dart/transform/test/transform/directive_processor/template_files/property.dart
index 0aef40fc56..8683640f04 100644
--- a/modules_dart/transform/test/transform/directive_processor/template_files/property.dart
+++ b/modules_dart/transform/test/transform/directive_processor/template_files/property.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.template_files.property;
+library playground.src.hello_world.template_files.property;
import 'package:angular2/angular2.dart'
show Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/directive_processor/unusual_component_files/hello.dart b/modules_dart/transform/test/transform/directive_processor/unusual_component_files/hello.dart
index 423316db32..e6ae73216e 100644
--- a/modules_dart/transform/test/transform/directive_processor/unusual_component_files/hello.dart
+++ b/modules_dart/transform/test/transform/directive_processor/unusual_component_files/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.unusual_component_files;
+library playground.src.hello_world.unusual_component_files;
import 'package:angular2/angular2.dart'
show Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/inliner_for_test/absolute_url_expression_files/expected/hello.dart b/modules_dart/transform/test/transform/inliner_for_test/absolute_url_expression_files/expected/hello.dart
index 079ee5ba91..8a4c74a483 100644
--- a/modules_dart/transform/test/transform/inliner_for_test/absolute_url_expression_files/expected/hello.dart
+++ b/modules_dart/transform/test/transform/inliner_for_test/absolute_url_expression_files/expected/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.absolute_url_expression_files;
+library playground.src.hello_world.absolute_url_expression_files;
import 'package:angular2/angular2.dart'
show Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/inliner_for_test/absolute_url_expression_files/hello.dart b/modules_dart/transform/test/transform/inliner_for_test/absolute_url_expression_files/hello.dart
index ec73a38242..210c120364 100644
--- a/modules_dart/transform/test/transform/inliner_for_test/absolute_url_expression_files/hello.dart
+++ b/modules_dart/transform/test/transform/inliner_for_test/absolute_url_expression_files/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.absolute_url_expression_files;
+library playground.src.hello_world.absolute_url_expression_files;
import 'package:angular2/angular2.dart'
show Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/inliner_for_test/multiple_style_urls_files/expected/hello.dart b/modules_dart/transform/test/transform/inliner_for_test/multiple_style_urls_files/expected/hello.dart
index 5e3095c23b..05db7e38b8 100644
--- a/modules_dart/transform/test/transform/inliner_for_test/multiple_style_urls_files/expected/hello.dart
+++ b/modules_dart/transform/test/transform/inliner_for_test/multiple_style_urls_files/expected/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.multiple_style_urls_files;
+library playground.src.hello_world.multiple_style_urls_files;
import 'package:angular2/angular2.dart'
show Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/inliner_for_test/multiple_style_urls_files/hello.dart b/modules_dart/transform/test/transform/inliner_for_test/multiple_style_urls_files/hello.dart
index 69613f04ef..1829a04a07 100644
--- a/modules_dart/transform/test/transform/inliner_for_test/multiple_style_urls_files/hello.dart
+++ b/modules_dart/transform/test/transform/inliner_for_test/multiple_style_urls_files/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.multiple_style_urls_files;
+library playground.src.hello_world.multiple_style_urls_files;
import 'package:angular2/angular2.dart'
show Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/inliner_for_test/split_url_expression_files/hello.dart b/modules_dart/transform/test/transform/inliner_for_test/split_url_expression_files/hello.dart
index f5befb4e24..a60c8680b4 100644
--- a/modules_dart/transform/test/transform/inliner_for_test/split_url_expression_files/hello.dart
+++ b/modules_dart/transform/test/transform/inliner_for_test/split_url_expression_files/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.split_url_expression_files;
+library playground.src.hello_world.split_url_expression_files;
import 'package:angular2/angular2.dart'
show Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/inliner_for_test/url_expression_files/hello.dart b/modules_dart/transform/test/transform/inliner_for_test/url_expression_files/hello.dart
index cd259765d1..b2404c9329 100644
--- a/modules_dart/transform/test/transform/inliner_for_test/url_expression_files/hello.dart
+++ b/modules_dart/transform/test/transform/inliner_for_test/url_expression_files/hello.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.url_expression_files;
+library playground.src.hello_world.url_expression_files;
import 'package:angular2/angular2.dart'
show Component, Directive, View, NgElement;
diff --git a/modules_dart/transform/test/transform/template_compiler/directive_aliases_files/hello1.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/directive_aliases_files/hello1.ng_deps.dart
index e7d6cdef29..e0aa325fa5 100644
--- a/modules_dart/transform/test/transform/template_compiler/directive_aliases_files/hello1.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/directive_aliases_files/hello1.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/directive_aliases_files/hello2.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/directive_aliases_files/hello2.ng_deps.dart
index ce941d9226..14dea497fe 100644
--- a/modules_dart/transform/test/transform/template_compiler/directive_aliases_files/hello2.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/directive_aliases_files/hello2.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/directive_event_files/expected/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/directive_event_files/expected/hello.ng_deps.dart
index 99299b5643..aaa502d069 100644
--- a/modules_dart/transform/test/transform/template_compiler/directive_event_files/expected/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/directive_event_files/expected/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/directive_event_files/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/directive_event_files/hello.ng_deps.dart
index c7b66e37d8..a829f48268 100644
--- a/modules_dart/transform/test/transform/template_compiler/directive_event_files/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/directive_event_files/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/event_files/expected/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/event_files/expected/hello.ng_deps.dart
index 517a3e3c2c..e127c4a7e0 100644
--- a/modules_dart/transform/test/transform/template_compiler/event_files/expected/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/event_files/expected/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.template.dart' as _templates;
diff --git a/modules_dart/transform/test/transform/template_compiler/event_files/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/event_files/hello.ng_deps.dart
index 6992a2ef15..4a4dc4e330 100644
--- a/modules_dart/transform/test/transform/template_compiler/event_files/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/event_files/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/inline_expression_files/expected/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/inline_expression_files/expected/hello.ng_deps.dart
index da5cfd2e7b..7f69ff9bb8 100644
--- a/modules_dart/transform/test/transform/template_compiler/inline_expression_files/expected/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/inline_expression_files/expected/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.template.dart' as _templates;
diff --git a/modules_dart/transform/test/transform/template_compiler/inline_expression_files/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/inline_expression_files/hello.ng_deps.dart
index 16d550917c..6100e0ce13 100644
--- a/modules_dart/transform/test/transform/template_compiler/inline_expression_files/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/inline_expression_files/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/inline_method_files/expected/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/inline_method_files/expected/hello.ng_deps.dart
index fd26263bf7..417a7c5cd3 100644
--- a/modules_dart/transform/test/transform/template_compiler/inline_method_files/expected/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/inline_method_files/expected/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.template.dart' as _templates;
diff --git a/modules_dart/transform/test/transform/template_compiler/inline_method_files/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/inline_method_files/hello.ng_deps.dart
index 94242be518..ed508cfe68 100644
--- a/modules_dart/transform/test/transform/template_compiler/inline_method_files/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/inline_method_files/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/one_directive_files/expected/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/one_directive_files/expected/hello.ng_deps.dart
index e60270d9f8..5cbdbfd367 100644
--- a/modules_dart/transform/test/transform/template_compiler/one_directive_files/expected/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/one_directive_files/expected/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.template.dart' as _templates;
diff --git a/modules_dart/transform/test/transform/template_compiler/one_directive_files/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/one_directive_files/hello.ng_deps.dart
index 8d3f4503f0..a83eb2bef2 100644
--- a/modules_dart/transform/test/transform/template_compiler/one_directive_files/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/one_directive_files/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/registrations_files/expected/registrations.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/registrations_files/expected/registrations.ng_deps.dart
index ba0a5cf61a..5156e099f6 100644
--- a/modules_dart/transform/test/transform/template_compiler/registrations_files/expected/registrations.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/registrations_files/expected/registrations.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'dependency.dart';
import 'dependency.ng_deps.dart' as i0;
diff --git a/modules_dart/transform/test/transform/template_compiler/registrations_files/registrations.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/registrations_files/registrations.ng_deps.dart
index 51f57feb7e..87a97bbdbb 100644
--- a/modules_dart/transform/test/transform/template_compiler/registrations_files/registrations.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/registrations_files/registrations.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'dependency.dart';
import 'dependency.ng_deps.dart' as i0;
diff --git a/modules_dart/transform/test/transform/template_compiler/url_expression_files/expected/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/url_expression_files/expected/hello.ng_deps.dart
index fea0ab1c3f..83be207e92 100644
--- a/modules_dart/transform/test/transform/template_compiler/url_expression_files/expected/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/url_expression_files/expected/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.index_common_dart;
+library playground.src.hello_world.index_common_dart;
import 'hello.template.dart' as _templates;
diff --git a/modules_dart/transform/test/transform/template_compiler/url_expression_files/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/url_expression_files/hello.ng_deps.dart
index 6c2b4ac37b..8d9def4686 100644
--- a/modules_dart/transform/test/transform/template_compiler/url_expression_files/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/url_expression_files/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.index_common_dart;
+library playground.src.hello_world.index_common_dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/url_method_files/expected/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/url_method_files/expected/hello.ng_deps.dart
index fea0ab1c3f..83be207e92 100644
--- a/modules_dart/transform/test/transform/template_compiler/url_method_files/expected/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/url_method_files/expected/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.index_common_dart;
+library playground.src.hello_world.index_common_dart;
import 'hello.template.dart' as _templates;
diff --git a/modules_dart/transform/test/transform/template_compiler/url_method_files/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/url_method_files/hello.ng_deps.dart
index 6c2b4ac37b..8d9def4686 100644
--- a/modules_dart/transform/test/transform/template_compiler/url_method_files/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/url_method_files/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.src.hello_world.index_common_dart;
+library playground.src.hello_world.index_common_dart;
import 'hello.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/with_prefix_files/expected/goodbye.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/with_prefix_files/expected/goodbye.ng_deps.dart
index 063de37b7b..7f6d68e6a0 100644
--- a/modules_dart/transform/test/transform/template_compiler/with_prefix_files/expected/goodbye.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/with_prefix_files/expected/goodbye.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'goodbye.template.dart' as _templates;
diff --git a/modules_dart/transform/test/transform/template_compiler/with_prefix_files/expected/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/with_prefix_files/expected/hello.ng_deps.dart
index db9c0ef619..4a1aaa476e 100644
--- a/modules_dart/transform/test/transform/template_compiler/with_prefix_files/expected/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/with_prefix_files/expected/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.template.dart' as _templates;
diff --git a/modules_dart/transform/test/transform/template_compiler/with_prefix_files/goodbye.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/with_prefix_files/goodbye.ng_deps.dart
index 6d8d79de61..087c88aa55 100644
--- a/modules_dart/transform/test/transform/template_compiler/with_prefix_files/goodbye.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/with_prefix_files/goodbye.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'goodbye.dart';
import 'package:angular2/angular2.dart'
diff --git a/modules_dart/transform/test/transform/template_compiler/with_prefix_files/hello.ng_deps.dart b/modules_dart/transform/test/transform/template_compiler/with_prefix_files/hello.ng_deps.dart
index 0a0826cecb..60e4734629 100644
--- a/modules_dart/transform/test/transform/template_compiler/with_prefix_files/hello.ng_deps.dart
+++ b/modules_dart/transform/test/transform/template_compiler/with_prefix_files/hello.ng_deps.dart
@@ -1,4 +1,4 @@
-library examples.hello_world.index_common_dart.ng_deps.dart;
+library playground.hello_world.index_common_dart.ng_deps.dart;
import 'hello.dart';
import 'goodbye.dart' as prefix;
diff --git a/protractor-dart2js.conf.js b/protractor-dart2js.conf.js
index 00f274da71..20bba31013 100644
--- a/protractor-dart2js.conf.js
+++ b/protractor-dart2js.conf.js
@@ -4,9 +4,9 @@ var config = data.config;
config.baseUrl = 'http://localhost:8002/';
config.exclude.push(
- 'dist/js/cjs/examples/e2e_test/sourcemap/sourcemap_spec.js',
- 'dist/js/cjs/examples/e2e_test/http/http_spec.js',
- 'dist/js/cjs/examples/e2e_test/jsonp/jsonp_spec.js',
+ 'dist/js/cjs/playground/e2e_test/sourcemap/sourcemap_spec.js',
+ 'dist/js/cjs/playground/e2e_test/http/http_spec.js',
+ 'dist/js/cjs/playground/e2e_test/jsonp/jsonp_spec.js',
// TODO: remove this line when largetable dart has been added
'dist/js/cjs/benchmarks_external/e2e_test/largetable_perf.js',
'dist/js/cjs/benchmarks_external/e2e_test/polymer_tree_perf.js',
diff --git a/tools/broccoli/html-replace/SCRIPTS.html b/tools/broccoli/html-replace/SCRIPTS.html
index 09a3a33a71..0402ad59c7 100644
--- a/tools/broccoli/html-replace/SCRIPTS.html
+++ b/tools/broccoli/html-replace/SCRIPTS.html
@@ -6,7 +6,7 @@
packages: {
'angular2_material': {defaultExtension: 'js'},
'benchmarks': {defaultExtension: 'js'},
- 'examples': {defaultExtension: 'js'},
+ 'playground': {defaultExtension: 'js'},
// TODO(rado): These helpers don't end up in the bundle, thus they should
// not even be in src/*. Move them!
'angular2/src/testing/benchmark_util': {defaultExtension: 'js'},
diff --git a/tools/broccoli/html-replace/SCRIPTS_benchmarks.html b/tools/broccoli/html-replace/SCRIPTS_benchmarks.html
index 026e4d7ea7..c43dcb2d64 100644
--- a/tools/broccoli/html-replace/SCRIPTS_benchmarks.html
+++ b/tools/broccoli/html-replace/SCRIPTS_benchmarks.html
@@ -7,7 +7,7 @@
packages: {
'angular2_material': {defaultExtension: 'js'},
'benchmarks': {defaultExtension: 'js'},
- 'examples': {defaultExtension: 'js'},
+ 'playground': {defaultExtension: 'js'},
// TODO(rado): These helpers don't end up in the bundle, thus they should
// not even be in src/*. Move them!
'angular2/src/testing/benchmark_util': {defaultExtension: 'js'},
diff --git a/tools/broccoli/trees/browser_tree.ts b/tools/broccoli/trees/browser_tree.ts
index b48930cbf7..8a4cfc8b57 100644
--- a/tools/broccoli/trees/browser_tree.ts
+++ b/tools/broccoli/trees/browser_tree.ts
@@ -36,34 +36,34 @@ const kServedPaths = [
'benchmarks_external/src/static_tree',
// Relative (to /modules) paths to example directories
- 'examples/src/animate',
- 'examples/src/benchpress',
- 'examples/src/model_driven_forms',
- 'examples/src/template_driven_forms',
- 'examples/src/person_management',
- 'examples/src/order_management',
- 'examples/src/gestures',
- 'examples/src/hello_world',
- 'examples/src/http',
- 'examples/src/jsonp',
- 'examples/src/key_events',
- 'examples/src/routing',
- 'examples/src/sourcemap',
- 'examples/src/todo',
- 'examples/src/zippy_component',
- 'examples/src/async',
- 'examples/src/material/button',
- 'examples/src/material/checkbox',
- 'examples/src/material/dialog',
- 'examples/src/material/grid_list',
- 'examples/src/material/input',
- 'examples/src/material/progress-linear',
- 'examples/src/material/radio',
- 'examples/src/material/switcher',
- 'examples/src/web_workers/kitchen_sink',
- 'examples/src/web_workers/todo',
- 'examples/src/web_workers/images',
- 'examples/src/web_workers/message_broker'
+ 'playground/src/animate',
+ 'playground/src/benchpress',
+ 'playground/src/model_driven_forms',
+ 'playground/src/template_driven_forms',
+ 'playground/src/person_management',
+ 'playground/src/order_management',
+ 'playground/src/gestures',
+ 'playground/src/hello_world',
+ 'playground/src/http',
+ 'playground/src/jsonp',
+ 'playground/src/key_events',
+ 'playground/src/routing',
+ 'playground/src/sourcemap',
+ 'playground/src/todo',
+ 'playground/src/zippy_component',
+ 'playground/src/async',
+ 'playground/src/material/button',
+ 'playground/src/material/checkbox',
+ 'playground/src/material/dialog',
+ 'playground/src/material/grid_list',
+ 'playground/src/material/input',
+ 'playground/src/material/progress-linear',
+ 'playground/src/material/radio',
+ 'playground/src/material/switcher',
+ 'playground/src/web_workers/kitchen_sink',
+ 'playground/src/web_workers/todo',
+ 'playground/src/web_workers/images',
+ 'playground/src/web_workers/message_broker'
];
@@ -106,7 +106,7 @@ module.exports = function makeBrowserTree(options, destinationPath) {
};
modulesTree = replace(modulesTree, {
- files: ["examples*/**/*.js"],
+ files: ["playground*/**/*.js"],
patterns: [{match: /\$SCRIPTS\$/, replacement: jsReplace('SCRIPTS')}]
});
@@ -177,10 +177,10 @@ module.exports = function makeBrowserTree(options, destinationPath) {
return funnels;
}
- var htmlTree = new Funnel(modulesTree,
- {include: ['*/src/**/*.html', '**/examples/**/*.html'], destDir: '/'});
+ var htmlTree = new Funnel(
+ modulesTree, {include: ['*/src/**/*.html', '**/playground/**/*.html'], destDir: '/'});
htmlTree = replace(htmlTree, {
- files: ['examples*/**/*.html'],
+ files: ['playground*/**/*.html'],
patterns: [
{match: /\$SCRIPTS\$/, replacement: htmlReplace('SCRIPTS')},
scriptPathPatternReplacement,
@@ -210,7 +210,7 @@ module.exports = function makeBrowserTree(options, destinationPath) {
// We need to replace the regular angular bundle with the web-worker bundle
// for web-worker e2e tests.
htmlTree = replace(htmlTree, {
- files: ['examples*/**/web_workers/**/*.html'],
+ files: ['playground*/**/web_workers/**/*.html'],
patterns: [{match: "/bundle/angular2.dev.js", replacement: "/bundle/web_worker/ui.dev.js"}]
});
diff --git a/tools/broccoli/trees/dart_tree.ts b/tools/broccoli/trees/dart_tree.ts
index ed7f80b1fa..3b1c7698c5 100644
--- a/tools/broccoli/trees/dart_tree.ts
+++ b/tools/broccoli/trees/dart_tree.ts
@@ -18,10 +18,10 @@ var global_excludes = [
'angular2/examples/*/ts/**/*',
'angular2/src/http/**/*',
'angular2/test/http/**/*',
- 'examples/src/http/**/*',
- 'examples/test/http/**/*',
- 'examples/src/jsonp/**/*',
- 'examples/test/jsonp/**/*',
+ 'playground/src/http/**/*',
+ 'playground/test/http/**/*',
+ 'playground/src/jsonp/**/*',
+ 'playground/test/jsonp/**/*',
'upgrade/**/*'
];
@@ -79,8 +79,8 @@ function fixDartFolderLayout(sourceTree) {
{pattern: /^benchmarks\//, insertion: 'web'},
{pattern: /^benchmarks_external\/test\//, insertion: ''},
{pattern: /^benchmarks_external\//, insertion: 'web'},
- {pattern: /^examples\/test\//, insertion: ''},
- {pattern: /^examples\//, insertion: 'web/'},
+ {pattern: /^playground\/test\//, insertion: ''},
+ {pattern: /^playground\//, insertion: 'web/'},
{pattern: /^[^\/]*\/test\//, insertion: ''},
{pattern: /^./, insertion: 'lib'}, // catch all.
];
@@ -115,7 +115,7 @@ function getHtmlSourcesTree() {
function getExamplesJsonTree() {
// Copy JSON files
- return modulesFunnel(['examples/**/*.json']);
+ return modulesFunnel(['playground/**/*.json']);
}
@@ -154,7 +154,7 @@ function getDocsTree() {
var docs = modulesFunnel(['**/*.md', '**/*.png', '**/*.html', '**/*.css', '**/*.scss'],
['**/*.js.md', '**/*.dart.md', 'angular1_router/**/*']);
- var assets = modulesFunnel(['examples/**/*.json']);
+ var assets = modulesFunnel(['playground/**/*.json']);
return mergeTrees([licenses, mdTree, docs, assets]);
}