Created
December 29, 2013 05:09
Finally the model, which uses its didLoad event to place its self into the proxy.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
App.Flash = DS.Model.extend({ | |
msg: DS.attr('string') | |
,flashType: DS.attr('string') | |
,didLoad: function(){ | |
this._super(); | |
App.flashProxy.pushObject(this); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment