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:
parent
ce7c0d176b
commit
80230414a2
12 changed files with 162 additions and 320 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue