Created
March 10, 2012 20:59
-
-
Save hvgotcodes/2013188 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
rotate: function() { | |
var transform = this.get('transform'), | |
that = this; | |
transform = SC.Transform3DRotateY(transform, Math.PI); | |
this.set('transform', transform); | |
this.set('focus', true); | |
setTimeout(function() { | |
SC.RunLoop.begin(); | |
var xform = that.get('transform'); | |
xform = SC.Transform3DRotateY(xform, Math.PI); | |
that.set('transform', xform); | |
SC.RunLoop.end(); | |
}, 250) | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment