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

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

Issue 558673004: update polymer js to 0.4.0 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: review updates Created 6 years, 3 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 | « pkg/polymer/lib/src/build/polyfill_injector.dart ('k') | pkg/polymer/lib/src/instance.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/declaration.dart
diff --git a/pkg/polymer/lib/src/declaration.dart b/pkg/polymer/lib/src/declaration.dart
index 42486c3b0bfc359610b9ac0bde9f8cbb94da0389..fb5c8c95e64373f1cc63b65f2de3aa2914887a9f 100644
--- a/pkg/polymer/lib/src/declaration.dart
+++ b/pkg/polymer/lib/src/declaration.dart
@@ -159,8 +159,8 @@ class PolymerDeclaration {
// from declaration/path.js
void resolveElementPaths(Node node) {
- if (_Platform == null) return;
- _Platform['urlResolver'].callMethod('resolveDom', [node]);
+ if (_Polymer == null) return;
+ _Polymer['urlResolver'].callMethod('resolveDom', [node]);
}
// Dart note: renamed from "addResolvePathApi".
@@ -553,3 +553,4 @@ bool _isObserverMethod(Symbol symbol) {
final _ATTRIBUTES_REGEX = new RegExp(r'\s|,');
final JsObject _Platform = js.context['Platform'];
+final JsObject _Polymer = js.context['Polymer'];
« no previous file with comments | « pkg/polymer/lib/src/build/polyfill_injector.dart ('k') | pkg/polymer/lib/src/instance.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698