Created
July 17, 2015 03:21
-
-
Save ef4/c8718ca3bb813190cc24 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
| this.transition( | |
| this.use('with-hook', 'fade', { duration: 250 }); | |
| ); |
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
| import getRealChildView from '../utils/liquid-fire-view-finder'; | |
| export default function defaultTransition(delegateTo, ...args) { | |
| return this.lookup(delegateTo).apply(this, args).then(() => { | |
| if (this.newView) { | |
| var view = getRealChildView(this.newView); | |
| if (view && view.didAnimateTransition) { | |
| view.didAnimateTransition(); | |
| } | |
| } | |
| }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment