Added burst to require in non-DEBUG

This commit is contained in:
Fergal Moran
2013-06-16 10:36:41 +01:00
parent 416a77f377
commit e7bf68aca8
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
requirejs.config({
baseUrl: "static/js",
//urlArgs: "bust="+ (new Date()).getTime(),
urlArgs: com.podnoms.settings.urlArgs,
waitSeconds: 200,
paths: {
jquery: 'libs/jquery',

View File

@@ -13,6 +13,7 @@ com.podnoms.settings = {
isDebug: '{{ IS_DEBUG }}',
drawTimelineOnMix: false,
staticUrl: '{{ STATIC_URL }}',
urlArgs: '{{ IS_DEBUG }}' ? "" : "bust="+ (new Date()).getTime(),
currentUser: {{ CURRENT_USER_ID }},
/** simple helper to take an api JSON object and initialise a player item */
setupPlayerWrapper: function (id, stream_url) {