From fabbb48b0a8090a225d57588bf989dd8862077e9 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Tue, 14 Jan 2014 08:46:03 -0800 Subject: [PATCH] apply path fixup in polymer-element --- src/declaration/prototype.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/declaration/prototype.js b/src/declaration/prototype.js index 2eba5f9..d3580e3 100644 --- a/src/declaration/prototype.js +++ b/src/declaration/prototype.js @@ -64,12 +64,14 @@ }, // implement various declarative features desugar: function(name, extendee) { + // install external stylesheets as if they are inline + this.installSheets(); + // adjust any paths in dom from imports + this.resolveElementPaths(this); // compile list of attributes to copy to instances this.accumulateInstanceAttributes(); // parse on-* delegates declared on `this` element this.parseHostEvents(); - // install external stylesheets as if they are inline - this.installSheets(); // this.adjustShadowElement(); //