diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-02 17:15:33 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-02 17:15:34 +0200 |
| commit | 0c3012f96cf952ecccfa72498befbf360778b8fa (patch) | |
| tree | e8b3541c04902cb7233e195126f74c7dc3246979 /scripts/app.js | |
| parent | fd71a019b015b151da0f8645eb39e43cba95b849 (diff) | |
add a gitignored local_config for the urlArgs
.. cache busting feature so it won't be accidentally committed
Diffstat (limited to 'scripts/app.js')
| -rw-r--r-- | scripts/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
