From 0c3012f96cf952ecccfa72498befbf360778b8fa Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 2 Nov 2014 17:15:33 +0200 Subject: add a gitignored local_config for the urlArgs .. cache busting feature so it won't be accidentally committed --- scripts/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/app.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 -- cgit v1.3.1