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

Unified Diff: runtime/bin/vmservice/client/deployed/web/packages/browser/interop.js

Issue 199633007: Switch to using pub build instead of custom build_.dart script (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
Index: runtime/bin/vmservice/client/deployed/web/packages/browser/interop.js
diff --git a/pkg/polymer/example/canonicalization/lib/a.dart b/runtime/bin/vmservice/client/deployed/web/packages/browser/interop.js
similarity index 51%
copy from pkg/polymer/example/canonicalization/lib/a.dart
copy to runtime/bin/vmservice/client/deployed/web/packages/browser/interop.js
index dfbe3cae43697d624ce34f47d216e2f2010ccd94..d7c7de609292c8b55215268d380e23ffc6a76380 100644
--- a/pkg/polymer/example/canonicalization/lib/a.dart
+++ b/runtime/bin/vmservice/client/deployed/web/packages/browser/interop.js
@@ -2,15 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library canonicalization.a;
-
-import 'package:polymer/polymer.dart';
-import 'package:canonicalization/c.dart';
-import 'd.dart';
-
-int a = 0;
-@initMethod initA() {
- a++;
- c++;
- d++;
+// Type for remote proxies to Dart objects with dart2js.
+// WARNING: do not call this constructor or rely on it being
+// in the global namespace, as it may be removed.
+function DartObject(o) {
+ this.o = o;
}

Powered by Google App Engine
This is Rietveld 408576698