Skip to content

Commit

Permalink
simply main constructor sanitation per explanation in #17
Browse files Browse the repository at this point in the history
  • Loading branch information
natevw committed Nov 25, 2013
1 parent fa43a67 commit fcf395d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evel.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ evel.Function = function () {
wrapper.push(src);
document.documentElement.removeChild(sbx);
// Modify Globals
_gObj.Function.constructor.prototype.constructor = evel.Function;
_gObj.Function.prototype.constructor = evel.Function;
_gObj.Function = evel.Function;
_gObj.Function.constructor = evel.Function;
_gObj.eval = evel;
Expand Down

0 comments on commit fcf395d

Please sign in to comment.