Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
only fix import template if one exists
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Apr 7, 2014
1 parent 7c9725e commit de76012
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions x-meta.html
Expand Up @@ -128,8 +128,10 @@
},
getImports: function() {
var t = this.querySelector('#imports');
// resolve urls in template.
Platform.urlResolver.resolveTemplate(t);
if (t) {
// resolve urls in template.
Platform.urlResolver.resolveTemplate(t);
}
return t;
},
loadImports: function(callback) {
Expand Down

0 comments on commit de76012

Please sign in to comment.