Permalink
Browse files

give the constructor native treatment

  • Loading branch information...
Brandon Benvie
Brandon Benvie committed Sep 30, 2012
1 parent 1699b45 commit d30ff6d6d89256842b4bb1cdb8f00cd2de72ca12
Showing with 3 additions and 1 deletion.
  1. +2 −0 weakmap.js
  2. +1 −1 weakmap.min.js
View
@@ -193,6 +193,8 @@ void function(global, undefined_, undefined){
? function(f){ f.__proto__ = stringifier }
: function(f){ define(f, stringifier) };
+ prep(WeakMap);
+
[toString, get, set, has, del].forEach(function(method){
define(WeakMap.prototype, method);
prep(method);
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit d30ff6d

Please sign in to comment.