Commit affa5a752b179efcff0cafabfbab0d42f012f2cf

  • avatar
  • arvind
  • Fri Oct 04 11:32:19 IST 2013
Fix:
    - MapView uses the updated convention of invoking _.bindAll
  • Diff rendering mode:
  • inline
  • side by side

mouchak/static/js/views.js

112112
113 var MapView = Backbone.View.extend({113 var MapView = Backbone.View.extend({
114 initialize: function(){114 initialize: function(){
115 _.bindAll(this);
115 _.bindAll.apply(_, [this].concat(_.functions(this)));
116 //_.bindAll(this);
116 _.bind(this.render, this);117 _.bind(this.render, this);
117 },118 },
118 render: function(el){119 render: function(el){