js/foundation/json_renderer/json_renderer.js in rsence-2.2.4 vs js/foundation/json_renderer/json_renderer.js in rsence-2.2.5
- old
+ new
@@ -269,10 +269,10 @@
_hasRect = _origNode['rect'] !== undefined;
_rect = _hasRect?_origNode['rect']:null;
}
if( !_isViewClass ){
if( _hasRect ){
- console.log( "renderNode warning; Supposedly rect-incompatible class supplied: "+_className );
+ !this.isProduction && console.log( "renderNode warning; Supposedly rect-incompatible class supplied: "+_className );
}
}
// Checks, if any sub-views are defined.
_hasSubviews = _dataNode['subviews'] !== undefined;