summaryrefslogtreecommitdiff
path: root/public/js/common.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/common.js (renamed from public/js/common.js.example)10
1 files changed, 0 insertions, 10 deletions
diff --git a/public/js/common.js.example b/public/js/common.js
index 11c32acc..a14e6fc9 100644
--- a/public/js/common.js.example
+++ b/public/js/common.js
@@ -1,14 +1,4 @@
//common
-var domain = ''; // domain name
-var urlpath = ''; // sub url path, like: www.example.com/<urlpath>
-//settings
-var debug = false;
-
-var GOOGLE_API_KEY = '';
-var GOOGLE_CLIENT_ID = '';
-
-var DROPBOX_APP_KEY = '';
-
var port = window.location.port;
var serverurl = window.location.protocol + '//' + (domain ? domain : window.location.hostname) + (port ? ':' + port : '') + (urlpath ? '/' + urlpath : '');
var noteid = urlpath ? window.location.pathname.slice(urlpath.length + 1, window.location.pathname.length).split('/')[1] : window.location.pathname.split('/')[1];