Skip to content

Instantly share code, notes, and snippets.

@Luke-23ae
Created December 18, 2010 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Luke-23ae/746461 to your computer and use it in GitHub Desktop.
Save Luke-23ae/746461 to your computer and use it in GitHub Desktop.
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