Skip to content
Browse files

patched compiler bug

  • Loading branch information...
1 parent ee73cc1 commit 14ace1f0d597c08c49f2b651154f000eb5834973 @jeffsu committed Jun 25, 2012
View
4 CHANGELOG
@@ -1,3 +1,7 @@
+### 0.6.3
+
+ * patch compiler bug
+
### 0.6.2
* compiler registration
View
2 VERSION
@@ -1 +1 @@
-0.6.2
+0.6.3
View
2 platforms/gem/lib/mochiscript/version.rb
@@ -1,3 +1,3 @@
module Mochiscript
- VERSION = "0.6.2"
+ VERSION = "0.6.3"
end
View
2 platforms/npm/lib/mochiscript/mochiscript.js
@@ -20,7 +20,7 @@ var JS2 = $m;
ext: '.ms',
compile: function (str, fn) {
try {
- fn(null, $m.compile(str));
+ fn(null, $m.parse(str));
} catch(err) {
fn(err);
}
View
2 platforms/npm/package.json
@@ -3,7 +3,7 @@
"description": "Javascript Dessert",
"keywords": [ "javascript", "language", "mochiscript", "compiler" ],
"author": "Jeff Su",
- "version": "0.6.2",
+ "version": "0.6.3",
"licenses": [ { "type": "MIT" }],
"engines": { "node": ">=0.4.0" },
"directories": { "lib": "./lib/mochiscript" },
View
2 src/platforms/npm/lib/mochiscript/mochiscript.js.erb
@@ -20,7 +20,7 @@ var JS2 = $m;
ext: '.ms',
compile: function (str, fn) {
try {
- fn(null, $m.compile(str));
+ fn(null, $m.parse(str));
} catch(err) {
fn(err);
}

0 comments on commit 14ace1f

Please sign in to comment.
Something went wrong with that request. Please try again.