mochiscript 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1058,7 +1058,7 @@ RootParser.extend("CommentParser", function(KLASS, OO){
1058
1058
  RootParser.extend("RegexParser", function(KLASS, OO){
1059
1059
 
1060
1060
  var REGEX = /^\/(\\.|[^\/])+\/[imgy]{0,4}/;
1061
- var DIVIDE = /(\}|\)|\+\+|\-\-|[\w\$])$/;
1061
+ var DIVIDE = /(\}|\)|\+\+|\-\-|[\w\$]|\]|\})$/;
1062
1062
 
1063
1063
 
1064
1064
  OO.addMember("parseTokens", function(tokens){
@@ -1,3 +1,3 @@
1
1
  module Mochiscript
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mochiscript
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.1
5
+ version: 0.5.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeff Su
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-03-23 00:00:00 Z
13
+ date: 2012-04-02 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: therubyracer