You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by xa...@apache.org on 2007/06/19 09:01:31 UTC
svn commit: r548658 - /incubator/ivy/core/trunk/doc/xooki/xooki.js
Author: xavier
Date: Tue Jun 19 02:01:30 2007
New Revision: 548658
URL: http://svn.apache.org/viewvc?view=rev&rev=548658
Log:
upgrade xooki: fix: make script src path in template relative to template
Modified:
incubator/ivy/core/trunk/doc/xooki/xooki.js
Modified: incubator/ivy/core/trunk/doc/xooki/xooki.js
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/xooki/xooki.js?view=diff&rev=548658&r1=548657&r2=548658
==============================================================================
--- incubator/ivy/core/trunk/doc/xooki/xooki.js (original)
+++ incubator/ivy/core/trunk/doc/xooki/xooki.js Tue Jun 19 02:01:30 2007
@@ -1017,6 +1017,7 @@
var head = xooki.string.processTemplate(xooki.template.head, xooki.config);
head = head.replace(/href="([^\\$:"]+)"/g, 'href="'+root+'$1"');
+ head = head.replace(/src="([^\\$:"]+)"/g, 'src="'+root+'$1"');
xooki.html.addHeader(head);
var body = xooki.template.source.match(/<body>([^ยง]*)<\/body>/im)[1];