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

Unified Diff: test/codegen/expect/BenchmarkBase.js

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase and format Created 5 years, 7 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/codegen/expect/8invalid-chars.in+file_name.js ('k') | test/codegen/expect/DeltaBlue.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/BenchmarkBase.js
diff --git a/test/codegen/expect/BenchmarkBase.js b/test/codegen/expect/BenchmarkBase.js
index 33c7b2e6adeafe8a746344a62138b165cd38cdce..96e2fe3217fee7a91de5ace6c51c3a808a7649bb 100644
--- a/test/codegen/expect/BenchmarkBase.js
+++ b/test/codegen/expect/BenchmarkBase.js
@@ -1,5 +1,6 @@
-var BenchmarkBase;
-(function(exports) {
+var BenchmarkBase = dart.defineLibrary(BenchmarkBase, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
class Expect extends core.Object {
static equals(expected, actual) {
@@ -66,4 +67,4 @@ var BenchmarkBase;
// Exports:
exports.Expect = Expect;
exports.BenchmarkBase = BenchmarkBase;
-})(BenchmarkBase || (BenchmarkBase = {}));
+})(BenchmarkBase, core);
« no previous file with comments | « test/codegen/expect/8invalid-chars.in+file_name.js ('k') | test/codegen/expect/DeltaBlue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698