Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Unified Diff: test/e2e/lib.ts

Issue 2225953002: Strip more unused features. (Closed) Base URL: git@github.com:dart-lang/js_facade_gen.git@master
Patch Set: Fix types Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/e2e/helloworld.ts ('k') | test/e2e/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/e2e/lib.ts
diff --git a/test/e2e/lib.ts b/test/e2e/lib.ts
index 6a30f630e03e109ea32582d1261010353684a574..13aa1acbd7a9fc4b693fff65f3838ad2fab9e1d3 100644
--- a/test/e2e/lib.ts
+++ b/test/e2e/lib.ts
@@ -1,6 +1,3 @@
-import {CONST, CONST_EXPR, forwardRef} from 'angular2/src/facade/lang';
-
-@CONST
export class MyClass {
private error: string = 'error';
constructor(private ctorField: string) {}
@@ -29,5 +26,5 @@ export class MySubclass extends MyClass implements Observer {
update(o: Object, arg: Object) { this.field = arg.toString(); }
}
-export const SOME_ARRAY = CONST_EXPR([1, 2, 3]);
-export const someArray = forwardRef(() => SOME_ARRAY);
+export const SOME_ARRAY = [1, 2, 3];
+export const someArray = SOME_ARRAY;
« no previous file with comments | « test/e2e/helloworld.ts ('k') | test/e2e/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698