Created
December 11, 2015 03:35
-
-
Save villander/60b22e25b4f939d8bd1a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // Ember.run.queues | |
| // => ["sync", "actions", "routerTransitions", "render", "afterRender", "destroy"] | |
| /*Ember.run.schedule('actions', this, function() { | |
| console.log('hehehe'); | |
| // Do more things | |
| }); | |
| Ember.run.schedule('sync', this, function() { | |
| // Do more things | |
| console.log('opa'); | |
| }); | |
| // I need this to run after transition | |
| Ember.run.scheduleOnce('afterRender', this, function() { | |
| assert.equal(currentPath(), 'conversation', 'profile logged!'); | |
| });*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment