[bug] util addProperty not correctly exporting

This commit is contained in:
Jake Luer 2012-04-22 18:22:12 -04:00
parent 580f6c24a2
commit 6292957d5e

View file

@ -25,7 +25,7 @@
* @api public
*/
module.export = function (ctx, name, getter) {
module.exports = function (ctx, name, getter) {
var context = ('function' === typeof obj) ? ctx.prototype : ctx;
Object.defineProperty(context, name,
{ get: function () {