lib/scripts/globals.coffee in h8-0.5.1 vs lib/scripts/globals.coffee in h8-0.5.2
- old
+ new
@@ -2,10 +2,6 @@
# Do nothing if not set
@globalsIncluded = true
RubyGate.prototype.toJSON = ->
- src = @__to_json
- res = {}
- for key in src.keys()
- res[key] = src[key]
- res
+ JSON.parse @__to_json