You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where should I put global patches? For example, I would like this patch to apply to all views in my application:
Ember.View.reopen({
didInsertElement : function(){
this._super();
Ember.run.scheduleOnce('afterRender', this, this.afterRenderEvent);
},
afterRenderEvent : function(){
// implement this hook in your own subclasses and run your jQuery logic there
}
});
The text was updated successfully, but these errors were encountered:
Where should I put global patches? For example, I would like this patch to apply to all views in my application:
The text was updated successfully, but these errors were encountered: