Add compatibility to CoffeeScript >= 1.9.0 and update to last version

(1.10.0)
This commit is contained in:
TheNain38 2015-10-19 21:09:01 +02:00 committed by TheNain38
parent 6c7f4b57bb
commit 46bc234790
2 changed files with 14 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -54,6 +54,14 @@ function convert(input, output) {
}
try {
if(!Object.create)
Object.create = function(proto)
{
function f(){}
f.prototype = proto;
return new f;
}
var js = CoffeeScript.compile(coffee);
if (!output) {