Skip to content

Commit

Permalink
Operation.prototype.accept Issues#3327 (#3364)
Browse files Browse the repository at this point in the history
  • Loading branch information
legu2009 authored and matthew-dean committed Feb 21, 2019
1 parent 5cc99b5 commit 162327a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/less.js
Original file line number Diff line number Diff line change
Expand Up @@ -9121,7 +9121,7 @@ var Operation = function (op, operands, isSpaced) {
Operation.prototype = new Node();
Operation.prototype.type = 'Operation';
Operation.prototype.accept = function (visitor) {
this.operands = visitor.visit(this.operands);
this.operands = visitor.visitArray(this.operands);
};
Operation.prototype.eval = function (context) {
var a = this.operands[0].eval(context),
Expand Down
2 changes: 1 addition & 1 deletion lib/less/tree/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var Operation = function (op, operands, isSpaced) {
Operation.prototype = new Node();
Operation.prototype.type = 'Operation';
Operation.prototype.accept = function (visitor) {
this.operands = visitor.visit(this.operands);
this.operands = visitor.visitArray(this.operands);
};
Operation.prototype.eval = function (context) {
var a = this.operands[0].eval(context),
Expand Down

0 comments on commit 162327a

Please sign in to comment.