summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/.gitignore1
-rw-r--r--scripts/app.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/.gitignore b/scripts/.gitignore
new file mode 100644
index 00000000..568dc446
--- /dev/null
+++ b/scripts/.gitignore
@@ -0,0 +1 @@
+local_config.js
diff --git a/scripts/app.js b/scripts/app.js
index aac60446..5abbe6f9 100644
--- a/scripts/app.js
+++ b/scripts/app.js
@@ -1,6 +1,5 @@
(function() {
var config = {
- // urlArgs: "bust=" + (new Date()).getTime(), // NOTE: useful for debugging
paths: {
jquery: 'external/jquery',
'jquery-ui': 'external/jquery-ui',
@@ -10,6 +9,8 @@ var config = {
autocomplete: 'external/autocomplete',
}
}
+config.urlArgs = local_config && local_config.urlArgs;
+
if (window.is_node) {
// Testing path only