Permalink
Browse files

removing auto-colon

  • Loading branch information...
jeffsu committed Jun 22, 2012
1 parent 4a0c88d commit 2584cca11de3e8a73a5042bcd2857bd47dc21fb9
View
@@ -1,3 +1,7 @@
+### 0.6.0
+
+ * removed auto semicolon for heredoc
+
### 0.5.7
* added middleware for express/connect
View
@@ -1 +1 @@
-0.5.7
+0.6.0
@@ -945,9 +945,10 @@ class Parser
// TODO put this in register
if (beginning[2]) {
- this.out = [ '$m.JSML.process(', string, ')', beginning[3] || ';' ];
+ console.log('DEPRECATED JSML: Use Jade!');
+ this.out = [ '$m.JSML.process(', string, ')', beginning[3] ];
} else {
- this.out = [ string, beginning[3] || ';' ];
+ this.out = [ string, beginning[3] ];
}
});
});
@@ -1,3 +1,3 @@
module Mochiscript
- VERSION = "0.5.7"
+ VERSION = "0.6.0"
end
@@ -912,9 +912,10 @@ RootParser.extend("HereDocParser", function(KLASS, OO){
// TODO put this in register
if (beginning[2]) {
- this.out = [ '$m.JSML.process(', string, ')', beginning[3] || ';' ];
+ console.log('DEPRECATED JSML: Use Jade!');
+ this.out = [ '$m.JSML.process(', string, ')', beginning[3] ];
} else {
- this.out = [ string, beginning[3] || ';' ];
+ this.out = [ string, beginning[3] ];
}
});
});
@@ -3,7 +3,7 @@
"description": "Javascript Dessert",
"keywords": [ "javascript", "language", "mochiscript", "compiler" ],
"author": "Jeff Su",
- "version": "0.5.7",
+ "version": "0.6.0",
"licenses": [ { "type": "MIT" }],
"engines": { "node": ">=0.4.0" },
"directories": { "lib": "./lib/mochiscript" },
View
@@ -381,9 +381,10 @@ class HereDocParser extends RootParser {
// TODO put this in register
if (beginning[2]) {
- this.out = [ '$m.JSML.process(', string, ')', beginning[3] || ';' ];
+ console.log('DEPRECATED JSML: Use Jade!');
+ this.out = [ '$m.JSML.process(', string, ')', beginning[3] ];
} else {
- this.out = [ string, beginning[3] || ';' ];
+ this.out = [ string, beginning[3] ];
}
}
}

0 comments on commit 2584cca

Please sign in to comment.