Permalink
Browse files

Missing self causing args test to fail on Rhino but not JSC (?!)

  • Loading branch information...
1 parent 6cdc22a commit f103514263dfa14f4abbc31d802d3266bc6deb57 Tom Robinson committed Aug 13, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 packages/narwhal-lib/lib/narwhal/args.js
View
1 packages/narwhal-lib/lib/narwhal/args.js
@@ -84,6 +84,7 @@ exports.Parser.prototype.def = function (name, value) {
* @param {Object} options parser state
*/
exports.Parser.prototype.reset = function (options) {
+ var self = this;
for (var name in this._def) {
if (util.has(this._def, name) && !util.has(options, name))
options[name] = util.copy(this._def[name]);

0 comments on commit f103514

Please sign in to comment.