Skip to content

Commit

Permalink
go back to using bind since it's used other places anyways
Browse files Browse the repository at this point in the history
  • Loading branch information
SlexAxton committed Dec 5, 2012
1 parent 358c875 commit dc37326
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/createElement.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
define(function() {
var createElement = function() {
return document.createElement.apply(document, arguments);
};

define(['fnBind'], function() {
var createElement = document.createElement.bind(document);
return createElement;
});

0 comments on commit dc37326

Please sign in to comment.