Skip to content

Commit

Permalink
* Make sure that the Object.defineProperty fix is carried on to Objec…
Browse files Browse the repository at this point in the history
…t.defineProperties.
  • Loading branch information
keeto committed Jan 15, 2011
1 parent ac88bff commit 0fe1ad2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/vendor/mootools/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ if (Object.defineProperty){
if (desc.set) desc.setter = desc.set;
return defProp.call(Object, obj, prop, desc);
};
Object.defineProperties = function(obj, descs){
for (var prop in descs){
Object.defineProperty(obj, prop, descs[prop]);
}
return obj;
};
}
}

Expand Down

0 comments on commit 0fe1ad2

Please sign in to comment.