Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #35 from Polymer/polymer-dom-api
Browse files Browse the repository at this point in the history
udpate to the new Polymer.dom api
  • Loading branch information
frankiefu committed Apr 14, 2015
2 parents 77f77bc + 9082e11 commit e402e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
var item = document.createElement('div');
item.id = 'item4';
item.textContent = 'item4';
Polymer.dom.appendChild(item, s1);
Polymer.dom(s1).appendChild(item);
Polymer.dom.flush();
// set selected
s1.selected = 'item4';
Expand Down Expand Up @@ -131,7 +131,7 @@
var item = document.createElement('item');
item.id = 'item4';
item.textContent = 'item4';
Polymer.dom.appendChild(item, s2);
Polymer.dom(s2).appendChild(item);
Polymer.dom.flush();
// set selected
s2.selected = 'item4';
Expand Down

0 comments on commit e402e81

Please sign in to comment.