Просмотр исходного кода

Tech: added cache busting for requirejs fetches, will only affect config.js for optimized builds, should solve user issues where browsers cache config.js which causes initial confusing setup/config issues.

Torkel Ödegaard 11 лет назад
Родитель
Сommit
3cd33b6ffc
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/app/components/require.config.js

+ 1 - 0
src/app/components/require.config.js

@@ -3,6 +3,7 @@
  */
 require.config({
   baseUrl: 'app',
+  urlArgs: 'bust=' + (new Date().getTime()),
 
   paths: {
     config:                   ['../config', '../config.sample'],