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

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

Issue 507653004: update polymer to 0.3.5 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review updates Created 6 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 | « pkg/polymer/CHANGELOG.md ('k') | pkg/polymer/lib/src/events.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 a82017baada84e1a6cc3e2f8b08dcb4d10bac738..85f07646bcf984336d5013a04bfe0d97313aff97 100644
--- a/pkg/polymer/lib/src/declaration.dart
+++ b/pkg/polymer/lib/src/declaration.dart
@@ -205,7 +205,7 @@ class PolymerDeclaration {
_getPublishedProperties(type);
- // merge names from 'attributes' attribute
+ // merge names from 'attributes' attribute into the '_publish' object
var attrs = element.attributes['attributes'];
if (attrs != null) {
// names='a b c' or names='a,b,c'
@@ -489,7 +489,7 @@ PolymerDeclaration _getDeclaration(String name) => _declarations[name];
/// Using Polymer's platform/src/ShadowCSS.js passing the style tag's content.
void _shimShadowDomStyling(DocumentFragment template, String name,
String extendee) {
- if (template == null || _ShadowCss == null) return;
+ if (template == null || _ShadowCss == null ||!_hasShadowDomPolyfill) return;
_ShadowCss.callMethod('shimStyling', [template, name, extendee]);
}
« no previous file with comments | « pkg/polymer/CHANGELOG.md ('k') | pkg/polymer/lib/src/events.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698