Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed removal bug. Array.remove should be Array.splice

  • Loading branch information...
commit ba66e697bd91f5c2f51b635f6d719181e2926f00 1 parent ef5c954
William Collins authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/argument/group.js
View
2  lib/argument/group.js
@@ -66,6 +66,6 @@ ArgumentGroup.prototype._addAction = function (action) {
ArgumentGroup.prototype._removeAction = function (action) {
// Parent remove action
ActionContainer.prototype._removeAction.call(this, action);
- this._groupActions.remove(action);
+ this._groupActions.splice(action);
};
Please sign in to comment.
Something went wrong with that request. Please try again.