diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-01-20 01:33:37 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-01-20 01:33:37 +0100 |
| commit | 39780c6c2d5474e2af12661935f986265c0feb0d (patch) | |
| tree | 12998b2bd8a34a9ff83467ac76f755b072179d21 /StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js | |
| parent | fcdef34b27e8f8e674361cbae17e627b9135d9c7 (diff) | |
| parent | 75aacfbbf0aaea5f09809428bdebe6842d36f082 (diff) | |
home screen degrees in N S E W..
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js')
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js b/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js index 5e5ea908..c075619a 100755 --- a/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js +++ b/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js @@ -21,14 +21,13 @@ var IntroView = View.extend({ window.addEventListener("deviceorientation", this.orient) app.footer.hide() this.orient({ alpha: 0 }) - // get location.. }, - + hide: function(){ window.removeEventListener("deviceorientation", this.orient) this.$alert.hide() }, - + deviceorientation: function(e){ var heading if ('webkitCompassHeading' in e) { @@ -61,5 +60,5 @@ var IntroView = View.extend({ e.stopPropagation() app.router.go("archive") }, - + }) |
