1
0
Fork 0
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:
Jeremy Ashkenas 2011-12-18 20:00:09 -05:00
parent 8d8c345216
commit 1018c51359
7 changed files with 76 additions and 6 deletions

View file

@ -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);