Created
December 18, 2010 12:25
-
-
Save Luke-23ae/746461 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.extend = Object.extend.wrap(function() { | |
var args = $A(arguments), | |
origExtend = args.shift(), | |
removeProperty; | |
/* | |
if(Object.isArray(args[2])) { | |
for (removeProperty in args[2]) | |
delete args[2][removeProperty]; | |
} | |
*/ | |
origExtend.apply(this, args); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment