mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 19:11:22 -05:00
The moment of truth: CoffeeScript has now compiled itself ten times over.
This commit is contained in:
@@ -27,8 +27,7 @@
|
||||
exports.compile = function compile(script, source) {
|
||||
var options;
|
||||
source = source || 'error';
|
||||
options = {
|
||||
};
|
||||
options = {};
|
||||
if (this.options.no_wrap) {
|
||||
options.no_wrap = true;
|
||||
}
|
||||
@@ -94,8 +93,7 @@
|
||||
// Use OptionParser for all the options.
|
||||
exports.parse_options = function parse_options() {
|
||||
var oparser, opts, paths;
|
||||
opts = (this.options = {
|
||||
});
|
||||
opts = (this.options = {});
|
||||
oparser = (this.option_parser = new optparse.OptionParser(SWITCHES));
|
||||
oparser.add = oparser['on'];
|
||||
oparser.add('interactive', function() {
|
||||
|
||||
Reference in New Issue
Block a user