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

Unified Diff: pkg/polymer/lib/polymer.dart

Issue 182193002: [polymer] interop with polymer-element and polymer.js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: pkg/polymer/lib/polymer.dart
diff --git a/pkg/polymer/lib/polymer.dart b/pkg/polymer/lib/polymer.dart
index 6f6847e35c7406c3a951db1281345a7eabe87727..246b411122ea0029b379ba888f3d1316e2fd7a39 100644
--- a/pkg/polymer/lib/polymer.dart
+++ b/pkg/polymer/lib/polymer.dart
@@ -37,10 +37,17 @@
/// Tips for converting your apps from Web UI to Polymer.dart.
library polymer;
+// Last ported from:
+// https://github.com/Polymer/polymer-dev/tree/37eea00e13b9f86ab21c85a955585e8e4237e3d2
+// TODO(jmesserly): we need to do a redundancy check. Some code like the FOUC
+// protection seems out of date, as if left over from the older
+// b7200854b2441a22ce89f6563963f36c50f5150d baseline.
+
import 'dart:async';
-import 'dart:collection' show HashMap, HashSet;
+import 'dart:collection' show HashMap, HashSet, LinkedHashMap;
import 'dart:html';
-import 'dart:js' as js;
+import 'dart:js' as js show context;
+import 'dart:js' hide context;
@MirrorsUsed(metaTargets:
const [Reflectable, ObservableProperty, PublishedProperty, CustomTag,
@@ -65,7 +72,6 @@ import 'deserialize.dart' as deserialize;
export 'package:observe/observe.dart';
export 'package:observe/html.dart';
-part 'src/boot.dart';
part 'src/declaration.dart';
part 'src/instance.dart';
part 'src/job.dart';

Powered by Google App Engine
This is Rietveld 408576698