Skip to content
Extraits de code Groupes Projets
Valider cfb52a71 rédigé par danielgrippi's avatar danielgrippi
Parcourir les fichiers

dg ms; little js cleanup [ci skip]

parent cf129b52
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -15,8 +15,7 @@ app.views.Canvas = app.views.Base.extend(_.extend({}, app.views.infiniteScrollMi
}, this))
//needs to be deferred so it happens after html rendering finishes
_.delay(_.bind(this.mason, this), 0)
_.defer(_.bind(this.mason, this))
},
addPostView : function(post) {
......@@ -38,10 +37,7 @@ app.views.Canvas = app.views.Base.extend(_.extend({}, app.views.infiniteScrollMi
},
triggerRelayoutAfterImagesLoaded : function(){
var self = this;
self.$el.imagesLoaded(function(){
self.reLayout()
})
this.$el.imagesLoaded(_.bind(this.reLayout, this))
},
reLayout : function(){
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter