use mustache to abstract out html logic in javascript

This commit is contained in:
2012-11-26 17:46:33 +01:00
parent 88489804db
commit ecdac7e8c4
15 changed files with 785 additions and 83 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ html lang="en"
link href="/images/apple-touch-icon.png" rel="apple-touch-icon-precomposed"
link href="/favicon.ico" rel="shortcut icon"
javascript:
var data_host = '#{Rails.env == 'development' ? 'http://localhost:3000' : 'http://data.qwaiter.com' }';
var data_host = '#{Rails.env == 'development' ? 'http://qwaiter.dev' : 'http://data.qwaiter.com' }';
//var data_host = 'http://localhost:3000';
//data_host = 'http://192.168.1.148:3000';
var $locale = 'en';