aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js4
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();