Skip to content

Commit 812db6a

Browse files
author
Steven Orvell
committed
Call registered no prototype.
1 parent 31702ff commit 812db6a

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎src/lib/base.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
proto._registerLazyFeatures();
5555
}
5656
// registration extension point
57-
this._doBehavior('registered');
57+
proto._doBehavior('registered');
5858
}
5959
},
6060

‎src/lib/style-util.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999

100100
// insert a comment node as a styling position placeholder.
101101
applyStylePlaceHolder: function(moniker) {
102-
var placeHolder = document.createComment(' polymer element ' +
102+
var placeHolder = document.createComment(' Shady DOM styles for ' +
103103
moniker + ' ');
104104
var after = this.__lastHeadApplyNode ?
105105
this.__lastHeadApplyNode.nextSibling : null;

‎src/standard/styling.html‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@
7070
// keep track of style when in document scope (polyfill) so we can
7171
// attach property styles after it.
7272
if (!nativeShadow) {
73-
// remove old scope style (comment node) when it's not needed.
74-
if (this._scopeStyle) {
75-
this._scopeStyle.parentNode.removeChild(this._scopeStyle);
76-
}
7773
this._scopeStyle = style;
7874
}
7975
}

0 commit comments

Comments
 (0)