Skip to content

Commit 62037a3

Browse files
committed
s/data-attach-point/attach-point/g, fixes #175.
1 parent f1e5641 commit 62037a3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

delite/createRenderer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ define([
5555
template._instanceData = this.instanceData;
5656
}
5757
this.appendChild(this.own(template.instantiate(this))[0].content);
58-
forEach.call(this.querySelectorAll("[data-attach-point]"), function (elem) {
59-
var value = elem.getAttribute("data-attach-point");
58+
forEach.call(this.querySelectorAll("[attach-point]"), function (elem) {
59+
var value = elem.getAttribute("attach-point");
6060
if (value) {
6161
this[value] = elem;
6262
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<input data-attach-point="valueNode">
1+
<input attach-point="valueNode">

0 commit comments

Comments
 (0)