Reverted b31cc70 -- putting Generated comment back up top. Why? Why not?

This commit is contained in:
Jeremy Ashkenas 2013-02-25 17:17:01 +13:00
parent fa1ffa66d3
commit 14c2a16833
14 changed files with 18 additions and 31 deletions

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var CoffeeScript, runScripts;
@ -89,5 +90,3 @@
}
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var CoffeeScript, cakefileDirectory, existsSync, fatalError, fs, helpers, missingTask, oparse, options, optparse, path, printTasks, switches, tasks;
@ -110,5 +111,3 @@
};
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var Lexer, compile, ext, extensions, fs, lexer, loadFile, parser, path, vm, _i, _len,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
@ -36,7 +37,7 @@
exports.helpers = require('./helpers');
exports.compile = compile = function(code, options) {
var footer, js, merge;
var header, js, merge;
if (options == null) {
options = {};
}
@ -52,8 +53,8 @@
}
throw err;
}
footer = "Generated by CoffeeScript " + this.VERSION;
return "" + js + "\n// " + footer + "\n";
header = "Generated by CoffeeScript " + this.VERSION;
return "// " + header + "\n" + js;
};
exports.tokens = function(code, options) {
@ -167,5 +168,3 @@
parser.yy = require('./nodes');
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var BANNER, CoffeeScript, EventEmitter, SWITCHES, coffee_exts, compileJoin, compileOptions, compilePath, compileScript, compileStdio, exec, exists, forkNode, fs, helpers, hidden, joinTimeout, lint, notSources, optionParser, optparse, opts, outputPath, parseOptions, path, printLine, printTokens, printWarn, removeSource, sourceCode, sources, spawn, timeLog, unwatchDir, usage, version, wait, watch, watchDir, watchers, writeJs, _ref,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
@ -490,5 +491,3 @@
};
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var Parser, alt, alternatives, grammar, name, o, operators, token, tokens, unwrap;
@ -609,5 +610,3 @@
});
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var extend, flatten, _ref;
@ -85,5 +86,3 @@
};
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var key, val, _ref;
@ -8,5 +9,3 @@
}
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var BOM, BOOL, CALLABLE, CODE, COFFEE_ALIASES, COFFEE_ALIAS_MAP, COFFEE_KEYWORDS, COMMENT, COMPARE, COMPOUND_ASSIGN, HEREDOC, HEREDOC_ILLEGAL, HEREDOC_INDENT, HEREGEX, HEREGEX_OMIT, IDENTIFIER, INDEXABLE, INVERSES, JSTOKEN, JS_FORBIDDEN, JS_KEYWORDS, LINE_BREAK, LINE_CONTINUER, LITERATE, LOGIC, Lexer, MATH, MULTILINER, MULTI_DENT, NOT_REGEX, NOT_SPACED_REGEX, NUMBER, OPERATOR, REGEX, RELATION, RESERVED, Rewriter, SHIFT, SIMPLESTR, STRICT_PROSCRIBED, TRAILING_SPACES, UNARY, WHITESPACE, compact, count, key, last, starts, _ref, _ref1,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
@ -815,5 +816,3 @@
LINE_BREAK = ['INDENT', 'OUTDENT', 'TERMINATOR'];
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var Access, Arr, Assign, Base, Block, Call, Class, Closure, Code, Comment, Existence, Extends, For, IDENTIFIER, IDENTIFIER_STR, IS_STRING, If, In, Index, LEVEL_ACCESS, LEVEL_COND, LEVEL_LIST, LEVEL_OP, LEVEL_PAREN, LEVEL_TOP, Literal, METHOD_DEF, NEGATE, NO, Obj, Op, Param, Parens, RESERVED, Range, Return, SIMPLENUM, STRICT_PROSCRIBED, Scope, Slice, Splat, Switch, TAB, THIS, Throw, Try, UTILITIES, Value, While, YES, compact, del, ends, extend, flatten, last, merge, multident, some, starts, unfoldSoak, utility, _ref, _ref1,
__hasProp = {}.hasOwnProperty,
@ -3008,5 +3009,3 @@
};
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var LONG_FLAG, MULTI_FLAG, OPTIONAL, OptionParser, SHORT_FLAG, buildRule, buildRules, normalizeArguments;
@ -135,5 +136,3 @@
};
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var CoffeeScript, addMultilineHandler, merge, nodeREPL, replDefaults, vm;
@ -101,5 +102,3 @@
};
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var BALANCED_PAIRS, EXPRESSION_CLOSE, EXPRESSION_END, EXPRESSION_START, IMPLICIT_BLOCK, IMPLICIT_CALL, IMPLICIT_END, IMPLICIT_FUNC, IMPLICIT_UNSPACED_CALL, INVERSES, LINEBREAKS, SINGLE_CLOSERS, SINGLE_LINERS, left, rite, _i, _len, _ref,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
@ -348,5 +349,3 @@
LINEBREAKS = ['TERMINATOR', 'INDENT', 'OUTDENT'];
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.5.0-pre
(function() {
var Scope, extend, last, _ref;
@ -143,5 +144,3 @@
})();
}).call(this);
// Generated by CoffeeScript 1.5.0-pre

View File

@ -41,8 +41,8 @@ exports.compile = compile = (code, options = {}) ->
catch err
err.message = "In #{options.filename}, #{err.message}" if options.filename
throw err
footer = "Generated by CoffeeScript #{@VERSION}"
"#{js}\n// #{footer}\n"
header = "Generated by CoffeeScript #{@VERSION}"
"// #{header}\n#{js}"
# Tokenize a string of CoffeeScript code, and return the array of tokens.
exports.tokens = (code, options) ->