You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/06/09 23:56:08 UTC
svn commit: r665911 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js
Author: hlship
Date: Mon Jun 9 14:56:08 2008
New Revision: 665911
URL: http://svn.apache.org/viewvc?rev=665911&view=rev
Log:
TAPESTRY-2441: Upgrade to Scriptaculous 1.8.1
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js?rev=665911&r1=665910&r2=665911&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/scriptaculous_1_8_1/scriptaculous.js Mon Jun 9 14:56:08 2008
@@ -43,15 +43,17 @@
convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))
throw("script.aculo.us requires the Prototype JavaScript framework >= " +
Scriptaculous.REQUIRED_PROTOTYPE);
-
- $A(document.getElementsByTagName("script")).findAll( function(s) {
- return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
- }).each( function(s) {
- var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
- var includes = s.src.match(/\?.*load=([a-z,]*)/);
- (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each(
- function(include) { Scriptaculous.require(path+include+'.js') });
- });
+
+// Tapestry turns off this mechanism, and replaces it with RenderSupport.addScriptLink().
+
+// $A(document.getElementsByTagName("script")).findAll( function(s) {
+// return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
+// }).each( function(s) {
+// var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
+// var includes = s.src.match(/\?.*load=([a-z,]*)/);
+// (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each(
+// function(include) { Scriptaculous.require(path+include+'.js') });
+// });
}
}