Last active
March 20, 2017 20:32
-
-
Save rezoner/4f6d2812493344ab38f048e841856f4d 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
var app = playground({ | |
ready() { | |
this.loaded = true; | |
/* Call resize manually if you need to */ | |
this.resize(); | |
}, | |
resize() { | |
if(!this.loaded) return; | |
/* Adjust things according to orientation */ | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment