Menu icon Foundation

My Posts

My Comments

Hitesh commented on Hitesh's post over 5 years

Solve it...
Backbone.View
.extend({
template : Handlebars
.compile($("#modal2").html()),
initialize : function() {
this.listenTo(this.model, "change", this.render);
},
render : function() {
this.$el.html(this.template(this.model.attributes));
//re initialize foundation here
$(document).foundation({orbit : {timer : false}});
return this;
});

Posts Followed

Following

    No Content

Followers

My Posts

My Comments

You commented on Hitesh's post over 5 years

Solve it...
Backbone.View
.extend({
template : Handlebars
.compile($("#modal2").html()),
initialize : function() {
this.listenTo(this.model, "change", this.render);
},
render : function() {
this.$el.html(this.template(this.model.attributes));
//re initialize foundation here
$(document).foundation({orbit : {timer : false}});
return this;
});

Posts Followed

Following

  • No Content

Followers

  • No Content