Guest User

Untitled

a guest
Sep 14th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. TodosThree.STARTING = SC.State.extend({
  2.  
  3. enterState: function () {
  4. if (SC.instanceOf(TodosTwo.store.dataSource, SC.FixturesDataSource)) {
  5. this.gotoState('LOADING_DATA');
  6. } else {
  7. this.gotoState('LOGGING_IN');
  8. }
  9. },
  10.  
  11. exitState: function () {
  12. // Nothing to worry about here
  13. }
  14. });
Add Comment
Please, Sign In to add comment