mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
Fixes #494: Forcing named classes in CoffeeScript (named functions) ... even in IE.
This commit is contained in:
parent
8d8c345216
commit
1018c51359
7 changed files with 76 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
var LONG_FLAG, MULTI_FLAG, OPTIONAL, OptionParser, SHORT_FLAG, buildRule, buildRules, normalizeArguments;
|
||||
|
||||
exports.OptionParser = OptionParser = (function() {
|
||||
|
||||
OptionParser.name = 'OptionParser';
|
||||
function OptionParser(rules, banner) {
|
||||
this.banner = banner;
|
||||
this.rules = buildRules(rules);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue