Permalink
Browse files

log render data.

  • Loading branch information...
1 parent bb08770 commit acf5001e61aad27c1b182be0f1bae9ca1af6cbb0 Bret Thaeler committed Sep 20, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/app/autoload/view-renderer.common.js
@@ -42,6 +42,9 @@ YUI.add('mojito-view-renderer', function(Y) {
* later. (streaming)
*/
render: function(data, mojitType, tmpl, adapter, meta, more) {
+ if (adapter.debug) {
+ adapter.debug.logOn('Render', {data: data, mojitType: mojitType, tmpl: tmpl});
+ }
this._renderer.render(data, mojitType, tmpl, adapter, meta, more);
}
};

0 comments on commit acf5001

Please sign in to comment.