summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-01-20 01:33:37 +0100
committerJules Laplace <jules@okfoc.us>2016-01-20 01:33:37 +0100
commit39780c6c2d5474e2af12661935f986265c0feb0d (patch)
tree12998b2bd8a34a9ff83467ac76f755b072179d21 /StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js
parentfcdef34b27e8f8e674361cbae17e627b9135d9c7 (diff)
parent75aacfbbf0aaea5f09809428bdebe6842d36f082 (diff)
home screen degrees in N S E W..
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/nav/IntroView.js7
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")
},
-
+
})