* object.js: jsx.object.defineProperty(): Fixed bogus parameter references (thanks to Cezary Tomczyk https://twitter.com/cezarytomczyk/status/329850349760442368)
/trunk/object.js |
---|
981,7 → 981,7 |
function () { |
obj[propertyName] = value; |
jsx.warn((sContext ? sContext + ": " : "") |
jsx.warn((context ? context + ": " : "") |
+ "Could not define property `" + propertyName |
+ "' as read-only"); |
}); |
1003,7 → 1003,7 |
} |
}, |
function () { |
jsx.warn((sContext ? sContext + ": " : "") |
jsx.warn((context ? context + ": " : "") |
+ "Could not define special property `" + propertyName + "'." |
+ " Please use explicit getters and setters instead."); |
}); |