Commit 80642db3 authored by Franz X Antesberger's avatar Franz X Antesberger

Merge pull request #8 from apiaryio/master

do not add separator after last var
parents 901b8520 47bb0737
...@@ -525,9 +525,9 @@ var VariableExpression = (function () { ...@@ -525,9 +525,9 @@ var VariableExpression = (function () {
for (index = 0; index < this.varspecs.length; index += 1) { for (index = 0; index < this.varspecs.length; index += 1) {
varspec = this.varspecs[index]; varspec = this.varspecs[index];
value = variables[varspec.varname]; value = variables[varspec.varname];
// if (!isDefined(value)) { if (!isDefined(value)) {
// continue; continue;
// } }
if (isFirstVarspec) { if (isFirstVarspec) {
result += this.operator.first; result += this.operator.first;
isFirstVarspec = false; isFirstVarspec = false;
......
...@@ -70,9 +70,9 @@ var VariableExpression = (function () { ...@@ -70,9 +70,9 @@ var VariableExpression = (function () {
for (index = 0; index < this.varspecs.length; index += 1) { for (index = 0; index < this.varspecs.length; index += 1) {
varspec = this.varspecs[index]; varspec = this.varspecs[index];
value = variables[varspec.varname]; value = variables[varspec.varname];
// if (!isDefined(value)) { if (!isDefined(value)) {
// continue; continue;
// } }
if (isFirstVarspec) { if (isFirstVarspec) {
result += this.operator.first; result += this.operator.first;
isFirstVarspec = false; isFirstVarspec = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment