From a69d425c0e5c004145ac1ab70e2f7f9fc329b54c Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Fri, 3 Oct 2014 15:07:08 +0100 Subject: 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 --- www/js/config.js-example | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 www/js/config.js-example (limited to 'www/js/config.js-example') 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 +}; -- cgit v1.2.3