Permalink
Browse files

Adding hookupView

  • Loading branch information...
1 parent cc88966 commit 247d62ebbbfa29d9652fe6be013bc85201eb40b7 @scottux scottux committed Apr 17, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 mustache.js
View
@@ -40,4 +40,8 @@ steal('jquery/view','jquery/lang/json')
});
return 'data-view-id="' + id + '"';
});
+
+ Handlebars.registerHelper('hookupView', function(view, item) {
+ return $.View(view, item);
+ });
})

0 comments on commit 247d62e

Please sign in to comment.