aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/config.js-example
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-10-03 15:07:08 +0100
committerDave Arter <davea@mysociety.org>2015-08-28 14:27:15 +0100
commita69d425c0e5c004145ac1ab70e2f7f9fc329b54c (patch)
tree8eb7ff0ff7aaa0fce8bc7214ec6e15b694fddbdc /www/js/config.js-example
parent8fd15b58733c51d7f001f9eac66b7d03830ec0b4 (diff)
update Android to Cordova 3.6
Required due to security issue Remove Android directory as no longer required, move src -> www to match standard layout, update .gitignore to avoid including the standard platform files, update README based on Steve's zurich one
Diffstat (limited to 'www/js/config.js-example')
-rw-r--r--www/js/config.js-example22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/js/config.js-example b/www/js/config.js-example
new file mode 100644
index 0000000..f5648a9
--- /dev/null
+++ b/www/js/config.js-example
@@ -0,0 +1,22 @@
+var CONFIG = {
+ // Language of templates to use ( should be name of directory under src/templates/ )
+ LANGUAGE: '',
+
+ // Name of app to use in alert dialog titles amongst other things
+ APP_NAME: '',
+
+ // URL of the fixmystreet install to report to
+ FMS_URL: '',
+
+ // namespace for storing drafts etc in. Should not need to change
+ NAMESPACE: 'fixmystreet',
+
+ // directory to store draft photos in. Should not need to change
+ FILES_DIR: 'photos',
+
+ // accuracy in meters required before geolocation is successful
+ ACCURACY: 100,
+
+ // how long, in milliseconds, before photo uploads timeout. Defaults to 120000 ( 2 minutes )
+ UPLOAD_TIMEOUT: 120000
+};