[javascript] timeline is already bundled, don't try to include dynamically other js files stable
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 10 Jun 2009 21:01:49 +0200
branchstable
changeset 2097 400bdbcc5699
parent 2096 58c485797b03
child 2098 13aab3775af7
[javascript] timeline is already bundled, don't try to include dynamically other js files
web/data/cubicweb.timeline-bundle.js
--- a/web/data/cubicweb.timeline-bundle.js	Wed Jun 10 18:45:09 2009 +0200
+++ b/web/data/cubicweb.timeline-bundle.js	Wed Jun 10 21:01:49 2009 +0200
@@ -80,7 +80,7 @@
             SimileAjax.includeJavascriptFile(doc, urlPrefix + filenames[i]);
         }
         SimileAjax.loadingScriptsCount += filenames.length;
-        SimileAjax.includeJavascriptFile(doc, SimileAjax.urlPrefix + "scripts/signal.js?" + filenames.length);
+        // XXX adim SimileAjax.includeJavascriptFile(doc, SimileAjax.urlPrefix + "scripts/signal.js?" + filenames.length);
     };
     SimileAjax.includeCssFile = function(doc, url) {
         if (doc.body == null) {
@@ -208,7 +208,7 @@
 //         } else {
 //             SimileAjax.includeJavascriptFiles(document, SimileAjax.urlPrefix + "scripts/", javascriptFiles);
 //         }
-        SimileAjax.includeCssFiles(document, SimileAjax.urlPrefix + "styles/", cssFiles);
+//         SimileAjax.includeCssFiles(document, SimileAjax.urlPrefix + "styles/", cssFiles);
 
         SimileAjax.loaded = true;
     })();
@@ -3830,8 +3830,8 @@
                 includeJavascriptFiles(Timeline.urlPrefix, [ "timeline-bundle.js" ]);
                 includeCssFiles(Timeline.urlPrefix, [ "timeline-bundle.css" ]);
             } else {
-                includeJavascriptFiles(Timeline.urlPrefix + "scripts/", javascriptFiles);
-                includeCssFiles(Timeline.urlPrefix + "styles/", cssFiles);
+                // XXX adim includeJavascriptFiles(Timeline.urlPrefix + "scripts/", javascriptFiles);
+                // XXX adim includeCssFiles(Timeline.urlPrefix + "styles/", cssFiles);
             }
 
             /*
@@ -3879,8 +3879,8 @@
             for (var l = 0; l < supportedLocales.length; l++) {
                 var locale = supportedLocales[l];
                 if (loadLocale[locale]) {
-                    includeJavascriptFiles(Timeline.urlPrefix + "scripts/l10n/" + locale + "/", localizedJavascriptFiles);
-                    includeCssFiles(Timeline.urlPrefix + "styles/l10n/" + locale + "/", localizedCssFiles);
+                    // XXX adim includeJavascriptFiles(Timeline.urlPrefix + "scripts/l10n/" + locale + "/", localizedJavascriptFiles);
+                    // XXX adim includeCssFiles(Timeline.urlPrefix + "styles/l10n/" + locale + "/", localizedCssFiles);
                 }
             }