Skip to content

Commit

Permalink
ie11 bug - mutationobserver does not like a truthy return value
Browse files Browse the repository at this point in the history
  • Loading branch information
pemrouz committed Jan 9, 2016
1 parent 775ff9b commit 6052865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function onlyIfDifferent(m) {

function drawCustomEls(ripple) {
return function (mutations) {
return mutations.map((0, _key2.default)('addedNodes')).map(_to2.default.arr).reduce(_flatten2.default).filter((0, _by2.default)('nodeName', (0, _includes2.default)('-'))).map(ripple.draw);
return mutations.map((0, _key2.default)('addedNodes')).map(_to2.default.arr).reduce(_flatten2.default).filter((0, _by2.default)('nodeName', (0, _includes2.default)('-'))).map(ripple.draw) | 0;
};
}

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function drawCustomEls(ripple) {
.map(to.arr)
.reduce(flatten)
.filter(by('nodeName', includes('-')))
.map(ripple.draw)
.map(ripple.draw) | 0
}

function bodies(ripple){
Expand Down

0 comments on commit 6052865

Please sign in to comment.