Parcourir la source

Removed the nocache param since some web servers have issue hadling it

Nicolas Petton il y a 13 ans
Parent
commit
6bfde9d7e3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      js/amber.js

+ 1 - 1
js/amber.js

@@ -12,7 +12,6 @@ amber = (function() {
 	var scripts = document.getElementsByTagName("script");
 	var src     = scripts[ scripts.length - 1 ].src;
 	var home    = src.split("/").slice(0, -2).join("/") + "/";
-	var nocache = '?' + (new Date()).getTime();
 
 	var debug;
 	var deploy;
@@ -20,6 +19,7 @@ amber = (function() {
 	var spec;
 	var jsToLoad = [];
 	var loadJS;
+    var nocache = '';
 
 	that.toggleIDE = function() {
 		if ($('#jtalk').length == 0) {