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

Commit

Permalink
remove support for experimental 'lightdom' attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Feb 4, 2014
1 parent 4bcb6be commit abac5f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/declaration/polymer-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
queue.register(this);
},


// TODO(sorvell): refactor, this method is private-ish, but it's being
// called by the queue object.
_register: function() {
//console.log('registering', this.name);
//console.group('registering', this.name);
Expand Down
6 changes: 1 addition & 5 deletions src/instance/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,7 @@
parseDeclaration: function(elementElement) {
var template = this.fetchTemplate(elementElement);
if (template) {
if (this.element.hasAttribute('lightdom')) {
this.lightFromTemplate(template);
} else {
this.shadowFromTemplate(template);
}
this.shadowFromTemplate(template);
}
},
// return a shadow-root template (if desired), override for custom behavior
Expand Down

0 comments on commit abac5f0

Please sign in to comment.