Skip to content

Commit

Permalink
Documentation & fix toString (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Dec 4, 2019
1 parent f007cdc commit 112c12a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/xml/xpath/concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ var _GpfXmlXPathConcat = _gpfDefine({
}, []);
},

/**
* @inheritdoc
* @since 1.0.1
*/
toString: function () {
return this._children.join(" | ");
return this._children.map(function (operator) {
return operator.toString();
}).join(" | ");
}
});

0 comments on commit 112c12a

Please sign in to comment.