mochiscript 0.6.15 → 0.6.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,19 +10,19 @@ module Mochiscript
10
10
  end
11
11
 
12
12
  def parse(str)
13
- @ctx.eval_js("$m.parse(#{str.to_json})")
13
+ @ctx.eval("$m.parse(#{str.to_json})")
14
14
  end
15
15
 
16
16
  def to_json(str)
17
- @ctx.eval_js("$m.toJSON(#{str.to_json})")
17
+ @ctx.eval("$m.toJSON(#{str.to_json})")
18
18
  end
19
19
 
20
20
  def pp(str)
21
- return @ctx.eval_js("$m.pp(#{str.to_json})")
21
+ return @ctx.eval("$m.pp(#{str.to_json})")
22
22
  end
23
23
 
24
24
  def eval_ms(str)
25
- @ctx.eval_js(parse(str))
25
+ @ctx.eval(parse(str))
26
26
  end
27
27
 
28
28
  protected
@@ -1,3 +1,3 @@
1
1
  module Mochiscript
2
- VERSION = "0.6.15"
2
+ VERSION = "0.6.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mochiscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.15
4
+ version: 0.6.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-19 00:00:00.000000000 Z
12
+ date: 2013-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: therubyracer