lib/gloo/objs/web/json.rb in gloo-3.1.1 vs lib/gloo/objs/web/json.rb in gloo-3.2.0

- old
+ new

@@ -61,9 +61,11 @@ # # Make the JSON pretty. # def msg_pretty + return unless self.value + json = JSON.parse( self.value ) pretty = JSON.pretty_generate( json ) set_value pretty end