Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1770 from alirni/patch-1
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
Arthur Evans authored Oct 7, 2016
2 parents c15a706 + 7f29c33 commit dc59505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/1.0/docs/devguide/local-dom.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Polymer.dom(this.root).appendChild(toLocal);
// Insert to the local DOM
var toInsert = document.createElement('div');
var beforeNode = Polymer.dom(this.root).childNodes[0];
Polymer.dom(this.root).insertBefore(toLocal, beforeNode);
Polymer.dom(this.root).insertBefore(toInsert, beforeNode);
```

You can use the [automatic node finding](#node-finding) feature to locate
Expand Down

0 comments on commit dc59505

Please sign in to comment.