coffee-script
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var CoffeeScript, runScripts; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var CoffeeScript, cakefileDirectory, fatalError, fs, helpers, missingTask, oparse, options, optparse, path, printTasks, switches, tasks; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -30,3 +30,3 @@ var Lexer, RESERVED, compile, fs, lexer, parser, path, vm, _ref, | ||
exports.VERSION = '1.3.2'; | ||
exports.VERSION = '1.3.3'; | ||
@@ -33,0 +33,0 @@ exports.RESERVED = RESERVED; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var BANNER, CoffeeScript, EventEmitter, SWITCHES, compileJoin, compileOptions, compilePath, compileScript, compileStdio, exec, forkNode, fs, helpers, hidden, joinTimeout, lint, loadRequires, notSources, optionParser, optparse, opts, outputPath, parseOptions, path, printLine, printTokens, printWarn, removeSource, sourceCode, sources, spawn, timeLog, unwatchDir, usage, version, wait, watch, watchDir, watchers, writeJs, _ref; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var Parser, alt, alternatives, grammar, name, o, operators, token, tokens, unwrap; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var extend, flatten; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var key, val, _ref; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var 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, 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, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var LONG_FLAG, MULTI_FLAG, OPTIONAL, OptionParser, SHORT_FLAG, buildRule, buildRules, normalizeArguments; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -44,3 +44,3 @@ var ACCESSOR, CoffeeScript, Module, REPL_PROMPT, REPL_PROMPT_CONTINUATION, REPL_PROMPT_MULTILINE, SIMPLEVAR, Script, autocomplete, backlog, completeAttribute, completeVariable, enableColours, error, getCompletions, inspect, multilineMode, pipedInput, readline, repl, run, stdin, stdout; | ||
completeAttribute = function(text) { | ||
var all, completions, key, match, obj, prefix, val; | ||
var all, completions, key, match, obj, possibilities, prefix, val; | ||
if (match = text.match(ACCESSOR)) { | ||
@@ -53,10 +53,10 @@ all = match[0], obj = match[1], prefix = match[2]; | ||
} | ||
completions = getCompletions(prefix, (function() { | ||
var _results; | ||
_results = []; | ||
for (key in Object(val)) { | ||
_results.push(key); | ||
val = Object(val); | ||
possibilities = Object.getOwnPropertyNames(val); | ||
for (key in val) { | ||
if (~possibilities.indexOf(val)) { | ||
possibilities.push(key); | ||
} | ||
return _results; | ||
})()); | ||
} | ||
completions = getCompletions(prefix, possibilities); | ||
return [completions, prefix]; | ||
@@ -161,3 +161,18 @@ } | ||
stdin.on('data', function(chunk) { | ||
return pipedInput += chunk; | ||
var line, lines, _i, _len, _ref; | ||
pipedInput += chunk; | ||
if (!/\n/.test(pipedInput)) { | ||
return; | ||
} | ||
lines = pipedInput.split("\n"); | ||
pipedInput = lines[lines.length - 1]; | ||
_ref = lines.slice(0, -1); | ||
for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
line = _ref[_i]; | ||
if (!(line)) { | ||
continue; | ||
} | ||
stdout.write("" + line + "\n"); | ||
run(line); | ||
} | ||
}); | ||
@@ -169,2 +184,5 @@ stdin.on('end', function() { | ||
line = _ref[_i]; | ||
if (!(line)) { | ||
continue; | ||
} | ||
stdout.write("" + line + "\n"); | ||
@@ -171,0 +189,0 @@ run(line); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ 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, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.3.2 | ||
// Generated by CoffeeScript 1.3.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var Scope, extend, last, _ref; |
@@ -6,6 +6,6 @@ { | ||
"author": "Jeremy Ashkenas", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"licenses": [{ | ||
"type": "MIT", | ||
"url": "https://github.com/jashkenas/coffee-script/raw/master/LICENSE" | ||
"url": "https://raw.github.com/jashkenas/coffee-script/master/LICENSE" | ||
}], | ||
@@ -12,0 +12,0 @@ "engines": { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
312221
6584