day work towards ios and qr optimization

This commit is contained in:
2012-12-11 00:48:29 +01:00
parent 7d0afde69f
commit 7f27d043eb
18 changed files with 287 additions and 253 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ html lang="en"
var data_host = 'http://data.qwaiter.com';
var event_host = '#{event_host}';
var $locale = 'en';
var $asset_path = 'file:///android_asset/assets/';
var $asset_path = '##assets_path##';
- else
javascript:
var QMobile, Qwaiter, Quser;
@@ -43,8 +43,8 @@ html lang="en"
this.authentication_string_storage = 'auth_token='+token;
this.authentication_object_storage = '{"auth_token": "'+token+'"}'
},
root_url: function(){return 'file:///Users/bterkuile/Documents/workspace/Qwaiter/assets'},
root_url: function(){return ''},
root_url: function(){return 'file:///Users/bterkuile/Documents/workspace/Qwaiter/assets/user'},
root_url: function(){return '/user'},
goHome: function(){ redirect_to('user_root')},
connection_problem: function(){alert('There is a problem connecting to the server')},
locale: function(){ return $locale || ($locale = 'en')},