Skip to content

Commit

Permalink
Use _.toArray to make IE8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily Stark committed Jun 22, 2014
1 parent 7b1cdda commit 69455d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/dombackend.js
Expand Up @@ -38,7 +38,7 @@ if (Meteor.isClient) {
};

DomBackend.tearDownElement = function (elem) {
var elems = Array.prototype.slice.call(elem.getElementsByTagName('*'));
var elems = _.toArray(elem.getElementsByTagName('*'));
elems.push(elem);
$jq.cleanData(elems);
};
Expand Down

0 comments on commit 69455d4

Please sign in to comment.