refactor(dart/transform): Remove index_static from hello_world

index_static.js & index_static.html are unnecessary in Js and are now
essentially generated via the Dart transformer. The angular
transformer is specified in examples/pubspec.yaml; use pub build to
create a transformed application that does not use dart:mirrors.

Create index_dynamic.js & index_dynamic.html, which are used to test
that the app runs equally well with mirrors and without.

Closes #495
This commit is contained in:
Tim Blasi
2015-04-17 15:07:31 -07:00
parent e52d71060f
commit 00e2d70f05
8 changed files with 35 additions and 349 deletions

View File

@ -4,7 +4,7 @@ describe('hello world', function () {
afterEach(testUtil.verifyNoBrowserErrors);
describe('static reflection', function() {
var URL = 'examples/src/hello_world/index_static.html';
var URL = 'examples/src/hello_world/index.html';
it('should greet', function() {
browser.get(URL);
@ -21,7 +21,7 @@ describe('hello world', function () {
});
describe('dynamic reflection', function() {
var URL = 'examples/src/hello_world/index.html';
var URL = 'examples/src/hello_world/index_dynamic.html';
it('should greet', function() {
browser.get(URL);