Skip to content

Commit

Permalink
binding fix for firefox/ie11/edge #45
Browse files Browse the repository at this point in the history
  • Loading branch information
eavichay committed Apr 1, 2018
1 parent 72bd9ce commit e51aa53
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ lib-cov
# Coverage directory used by tools like istanbul
coverage

# playground - issue reproduction on local dev machine
src/playground

# nyc test coverage
.nyc_output

Expand Down
2 changes: 1 addition & 1 deletion Slim.es6.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Slim.js
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
child.setAttribute('s:iterate', _this6.dataPath + ' : ' + index);
Slim.selectRecursive(child).forEach(function (e) {
Slim._$(e).repeater[_this6.dataProp] = _this6.dataSource[index];
e[_this6.dataProp] = _this6.dataSource[index];
if (e instanceof Slim) {
e[_this6.dataProp] = _this6.dataSource[index];
}
Expand Down
2 changes: 1 addition & 1 deletion Slim.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/Slim.js
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,7 @@
child.setAttribute('s:iterate', `${this.dataPath} : ${index}`)
Slim.selectRecursive(child).forEach(e => {
Slim._$(e).repeater[this.dataProp] = this.dataSource[index]
e[this.dataProp] = this.dataSource[index]
if (e instanceof Slim) {
e[this.dataProp] = this.dataSource[index]
}
Expand Down

0 comments on commit e51aa53

Please sign in to comment.