js/foundation/json_renderer/json_renderer.js in rsence-2.1.2 vs js/foundation/json_renderer/json_renderer.js in rsence-2.1.3

- old
+ new

@@ -22,11 +22,11 @@ ** features and documentation as it matures. ***/ //var//RSence.Foundation COMM.JSONRenderer = HClass.extend({ - version: 0.7, + version: 0.8, /** = Description * Renders JSON structured data, see some of the demos for usage examples. * * = Parameters: @@ -75,10 +75,13 @@ _extend = HClass; } for( _key in _definition ){ if( _reserved.indexOf( _key ) === -1 ){ _value = _definition[_key]; - _extension[_key] = this.extEval( _value ); + if( typeof _value === 'string' ){ + _value = this.extEval( _value ); + } + _extension[_key] = _value; } } _scope[ _className ] = _extend.extend( _extension ); if( _implement ){ _scope[ _className ].implement( _implement );