collection.js: Use jsx.throwThis()
/trunk/collection.js |
---|
136,10 → 136,8 |
} |
else |
{ |
(function() { |
eval("throw new TypeError('Collection.prototype.items.map(callback, thisObj):'" |
+ "+ ' expected function, got ' + typeof thisObj)"); |
}()); |
jsx.throwThis("TypeError", "Collection.prototype.items.map(callback, thisObj):" |
+ " expected function, got " + typeof thisObj); |
} |
return a; |