Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TodosThree.STARTING = SC.State.extend({
- enterState: function () {
- if (SC.instanceOf(TodosTwo.store.dataSource, SC.FixturesDataSource)) {
- this.gotoState('LOADING_DATA');
- } else {
- this.gotoState('LOGGING_IN');
- }
- },
- exitState: function () {
- // Nothing to worry about here
- }
- });
Add Comment
Please, Sign In to add comment