Skip to content

Commit

Permalink
Merge pull request #51 from impinball/patch-1
Browse files Browse the repository at this point in the history
Remove Object.keys implementation (for now).
  • Loading branch information
JedWatson committed Sep 30, 2015
2 parents b4e99fd + b41f99b commit 04cf242
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dedupe.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,16 @@
function _classNames () {
var classSet = {};
_parseArray(classSet, arguments);

var list = [];

for (var k in classSet) {
if (hasOwn.call(classSet, k) && classSet[k]) {
list.push(k)
}
}

return Object.keys(classSet).join(' ');
return list.join(' ');
}

return _classNames;
Expand Down

0 comments on commit 04cf242

Please sign in to comment.