chore: rename modules/examples to modules/playground
The directory contains code authored in a style that makes it transpilable to dart. As such, these are not idiomatic examples of Angular 2 usage. The main purpose of this directory is to enable experimentation with Angular within the angular/angular repository. Closes #4342 Closes #4639
This commit is contained in:
committed by
Flavio Corpa Ríos
parent
c3ab20cc87
commit
e4e74ae65c
+2
-2
@@ -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
|
||||
}));
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.async_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.hello_world.hello_world_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.http.http_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.jsonp.jsonp_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.key_events.key_events_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.material.button_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.material.checkbox_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.material.dialog_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.material.grid_list_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.material.input_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.material.progress_linear_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.material.radio_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.hello_world.model_driven_forms_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.order_management_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.person_management_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.routing.routing_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.sourcemap.sourcemap_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.hello_world.template_driven_forms_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.web_workers.kitchen_sink_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.message_bus;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.web_workers.todo_spec;
|
||||
|
||||
main() {}
|
||||
@@ -1,3 +0,0 @@
|
||||
library examples.e2e_test.zippy_component.zippy_spec;
|
||||
|
||||
main() {}
|
||||
@@ -0,0 +1,3 @@
|
||||
library playground.e2e_test.async_spec;
|
||||
|
||||
main() {}
|
||||
+1
-1
@@ -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));
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
library playground.e2e_test.hello_world.hello_world_spec;
|
||||
|
||||
main() {}
|
||||
+1
-1
@@ -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);
|
||||
@@ -0,0 +1,3 @@
|
||||
library playground.e2e_test.http.http_spec;
|
||||
|
||||
main() {}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user