1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

merging in gfxmonk's major refactor to the way that returns are pushed down into the interior of expressions

This commit is contained in:
Jeremy Ashkenas 2010-03-21 11:28:05 -04:00
parent ce7c0d176b
commit 80230414a2
12 changed files with 162 additions and 320 deletions

View file

@ -63,7 +63,6 @@
_d.push(' ');
}
return _d;
return null;
}).call(this).join('') : '';
let_part = rule.short_flag ? rule.short_flag + ', ' : ' ';
lines.push(" " + let_part + (rule.long_flag) + spaces + (rule.description));
@ -71,7 +70,6 @@
return "\n" + (lines.join('\n')) + "\n";
};
return OptionParser;
return null;
}).call(this);
// Helpers
// -------
@ -95,7 +93,6 @@
}).call(this));
}
return _a;
return null;
};
// Build a rule from a `-o` short flag, a `--output [DIR]` long flag, and the
// description of what the option does.