Permalink
Browse files

* Upgrade to js2coffee 2.2.0. Fix SCRIPT error.

  Reported by: @lanfon72
  • Loading branch information...
1 parent 60fab2b commit cdcfaedd2f3947a7ec3f6abea7e94f981a62a0cc @audreyt committed May 7, 2016
Showing with 44 additions and 5,761 deletions.
  1. +12 −14 package.json
  2. +11 −13 package.ls
  3. +2 −2 public/js/app.js
  4. +11 −2,865 public/js/vendor.js
  5. +8 −2,867 vendor/js2coffee.org/js2coffee.min.js
View
@@ -9,29 +9,27 @@
"url": "https://github.com/audreyt/js2ls.org"
},
"engines": {
- "node": "0.8.x",
- "npm": "1.1.x"
+ "node": "5.0.x"
},
"scripts": {
"prepublish": "lsc -cj package.ls || echo"
},
"dependencies": {},
"devDependencies": {
- "brunch": ">= 1.4 < 1.5",
- "javascript-brunch": ">= 1.0 < 1.5",
- "LiveScript-brunch": ">= 1.4.1",
- "css-brunch": ">= 1.0 < 1.5",
- "sass-brunch": ">= 1.4 < 1.5",
- "jade-brunch": "1.3.x",
+ "brunch": "*",
+ "javascript-brunch": "*",
+ "livescript-brunch": "*",
+ "css-brunch": "*",
+ "sass-brunch": "*",
+ "jade-brunch": "*",
"static-jade-brunch": "*",
- "auto-reload-brunch": "1.3.x",
- "uglify-js-brunch": ">= 1.0 < 1.5",
- "clean-css-brunch": ">= 1.0 < 1.5",
- "testacular": ">= 0.0.16",
+ "auto-reload-brunch": "*",
+ "uglify-js-brunch": "*",
+ "clean-css-brunch": "*",
+ "karma": "*",
"mocha": "*",
"chai": "*",
"sinon": "*",
- "sinon-chai": "*",
- "zombie": "*"
+ "sinon-chai": "*"
}
}
View
@@ -6,24 +6,22 @@ homepage: 'https://github.com/audreyt/js2ls.org'
repository:
type: 'git'
url: 'https://github.com/audreyt/js2ls.org'
-engines:
- node: '0.8.x'
- npm: '1.1.x'
+engines: { node: '5.0.x' }
scripts:
prepublish: 'lsc -cj package.ls || echo'
dependencies: {}
devDependencies:
- brunch: '>= 1.4 < 1.5'
- 'javascript-brunch': '>= 1.0 < 1.5'
- 'LiveScript-brunch': '>= 1.4.1'
- 'css-brunch': '>= 1.0 < 1.5'
- 'sass-brunch': '>= 1.4 < 1.5'
- 'jade-brunch': '1.3.x'
+ brunch: '*'
+ 'javascript-brunch': '*'
+ 'livescript-brunch': '*'
+ 'css-brunch': '*'
+ 'sass-brunch': '*'
+ 'jade-brunch': '*'
'static-jade-brunch': '*'
- 'auto-reload-brunch': '1.3.x'
- 'uglify-js-brunch': '>= 1.0 < 1.5'
- 'clean-css-brunch': '>= 1.0 < 1.5'
- testacular: '>= 0.0.16'
+ 'auto-reload-brunch': '*'
+ 'uglify-js-brunch': '*'
+ 'clean-css-brunch': '*'
+ karma: '*'
mocha: '*'
chai: '*'
sinon: '*'
View
@@ -141,15 +141,15 @@ window.require.define({"angular-ace": function(exports, require, module) {
break;
case 'js2lslefteditor':
try {
- cs = Js2coffee.build(editor.getValue());
+ cs = Js2coffee.build(editor.getValue()).code;
} catch (e$) {
e = e$;
$(err).html(e + "").show();
}
break;
case 'js2lsrighteditor':
try {
- cs = Js2coffee.build(scope.js2lslefteditor.getValue());
+ cs = Js2coffee.build(scope.js2lslefteditor.getValue()).code;
} catch (e$) {
e = e$;
$(err).html(e + "").show();
View
Oops, something went wrong.
Oops, something went wrong.

1 comment on commit cdcfaed

Hello, unfortunately still there is script error on the website :(
ReferenceError: Js2coffee is not defined

Please sign in to comment.