Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions px-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
type: Boolean,
value: false
},

/**
*
* Set to true to load this view asynchronously.
Expand Down Expand Up @@ -236,7 +236,7 @@
that.set('status', 'loaded');
} else {
var modulesLoaded = Polymer.dom(that._importLink.import).querySelectorAll('dom-module');
if (modulesLoaded.some(function(ele) {return ele.id === that._elementTagName;})) {
if (Array.prototype.some.call(modulesLoaded, function(ele) {return ele.id === that._elementTagName;})) {
that.set('status', 'loaded');
} else {
console.log('Error: dom-module of imported element does not match element tag name');
Expand Down