Skip to content

Commit

Permalink
s/data-attach-point/attach-point/g, fixes ibm-js#175.
Browse files Browse the repository at this point in the history
  • Loading branch information
asudoh committed Apr 21, 2016
1 parent f1e5641 commit 62037a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions delite/createRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ define([
template._instanceData = this.instanceData;
}
this.appendChild(this.own(template.instantiate(this))[0].content);
forEach.call(this.querySelectorAll("[data-attach-point]"), function (elem) {
var value = elem.getAttribute("data-attach-point");
forEach.call(this.querySelectorAll("[attach-point]"), function (elem) {
var value = elem.getAttribute("attach-point");
if (value) {
this[value] = elem;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/delite/templates/attachPointTemplate.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<input data-attach-point="valueNode">
<input attach-point="valueNode">

0 comments on commit 62037a3

Please sign in to comment.