Skip to content

Instantly share code, notes, and snippets.

@unicolet
Last active December 25, 2015 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unicolet/6950020 to your computer and use it in GitHub Desktop.
Save unicolet/6950020 to your computer and use it in GitHub Desktop.
// define the transition duration globally
Pony.transitionSpeed=0.5;
// [more code here] //
// Automatic transitions, courtesy of SC 1.10
transitionIn: SC.View.SLIDE_IN,
transitionInOptions: { direction: 'down', duration: Pony.transitionSpeed, delay: Pony.transitionSpeed },
transitionOut: SC.View.SLIDE_OUT,
transitionOutOptions: { direction: 'up', duration: Pony.transitionSpeed, delay: Pony.transitionSpeed },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment