Skip to content

Commit

Permalink
Call registered no prototype.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Mar 15, 2016
1 parent 31702ff commit 812db6a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/lib/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
proto._registerLazyFeatures();
}
// registration extension point
this._doBehavior('registered');
proto._doBehavior('registered');
}
},

Expand Down
2 changes: 1 addition & 1 deletion src/lib/style-util.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@

// insert a comment node as a styling position placeholder.
applyStylePlaceHolder: function(moniker) {
var placeHolder = document.createComment(' polymer element ' +
var placeHolder = document.createComment(' Shady DOM styles for ' +
moniker + ' ');
var after = this.__lastHeadApplyNode ?
this.__lastHeadApplyNode.nextSibling : null;
Expand Down
4 changes: 0 additions & 4 deletions src/standard/styling.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@
// keep track of style when in document scope (polyfill) so we can
// attach property styles after it.
if (!nativeShadow) {
// remove old scope style (comment node) when it's not needed.
if (this._scopeStyle) {
this._scopeStyle.parentNode.removeChild(this._scopeStyle);
}
this._scopeStyle = style;
}
}
Expand Down

0 comments on commit 812db6a

Please sign in to comment.