diff options
author | Struan Donald <struan@exo.org.uk> | 2013-03-20 12:05:29 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-03-20 12:05:29 +0000 |
commit | 41ab04a13cb83f7e1e79fd5ed23989720fa0ee60 (patch) | |
tree | 4b0b6da51c2ee566856ce7ab820a693ef74fc6e7 /www/js/app.js | |
parent | 03cdc3ac5ed87cc6f6b125b8514dec6a59f27812 (diff) |
change location object to be a property of FMS object
distinguish between gps ans search events
Diffstat (limited to 'www/js/app.js')
-rw-r--r-- | www/js/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js index 959a19e..0e0544e 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -57,8 +57,10 @@ var tpl = { FMS.initialized = 1; tpl.loadTemplates( FMS.templates, function() { _.extend(FMS, { - router: new FMS.appRouter() + router: new FMS.appRouter(), + locator: new FMS.Locate() }); + _.extend( FMS.locator, Backbone.Events ); // we only ever have the details of one user FMS.users.fetch(); |