mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
Merge branch 'master' into 2
# Conflicts: # Cakefile # documentation/sections/changelog.md # documentation/sections/classes.md # documentation/sections/fat_arrow.md # documentation/sections/installation.md # documentation/sections/introduction.md # documentation/sections/resources.md # documentation/sections/scripts.md # lib/coffeescript/repl.js # src/lexer.coffee
This commit is contained in:
commit
ae096a331a
4 changed files with 16 additions and 6 deletions
|
|
@ -170,7 +170,7 @@
|
|||
start: function(opts = {}) {
|
||||
var build, major, minor, repl;
|
||||
[major, minor, build] = process.versions.node.split('.').map(function(n) {
|
||||
return parseInt(n);
|
||||
return parseInt(n, 10);
|
||||
});
|
||||
if (major < 6) {
|
||||
console.warn("Node 6+ required for CoffeeScript REPL");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue