Пример #1
0
AppRouter.prototype.contact = function(){
  var view = new ContactView()
  $('#app').html(view.render().el)
  document.title = 'Contact'
  _gaq.push(['_trackPageview', '/contact'])
}
Пример #2
0
 contact: function() {
   var view = new ContactView({el: $('.contact')} )
   $('#app').html(view.render().el)
 },