js/foundation/json_renderer/json_renderer.js in rsence-pre-2.1.0.3.pre vs js/foundation/json_renderer/json_renderer.js in rsence-pre-2.1.0.4.pre

- old
+ new

@@ -22,11 +22,11 @@ ** features and documentation as it matures. ***/ //var//RSence.Foundation COMM.JSONRenderer = HClass.extend({ - version: 0.6, + version: 0.7, /** = Description * Renders JSON structured data, see some of the demos for usage examples. * * = Parameters: @@ -45,9 +45,12 @@ }, render: function(){ this.scopes = [window]; this.scopeDepth = 0; this.view = this.renderNode( this.data, this.parent ); + }, + die: function(){ + this.view.die(); }, defineInScope: function( _definition ){ var _isArr = (_definition instanceof Array), _isObj = (_definition instanceof Object); if( _isArr || !_isObj ){