Author: hlship
Date: Tue Aug 26 14:42:59 2008
New Revision: 689248
URL: http://svn.apache.org/viewvc?rev=689248&view=rev
Log:
TAPESTRY-2623: Remove excessive Tapestry.debug() messages on zone response
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js?rev=689248&r1=689247&r2=689248&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
Tue Aug 26 14:42:59 2008
@@ -1263,7 +1263,7 @@
scriptElement.onreadystatechange = function ()
{
- Tapestry.debug("State #{state} for #{script} (loaded is
#{loaded})", { state:this.readyState, script:scriptElement.src, loaded:loaded
});
+ // Tapestry.debug("State #{state} for #{script} (loaded is
#{loaded})", { state:this.readyState, script:scriptElement.src, loaded:loaded
});
// IE may fire either loaded or complete, or perhaps even
both.
if (! loaded && (this.readyState == 'loaded' ||
this.readyState == 'complete'))
@@ -1285,7 +1285,7 @@
{
this.loaded++;
- Tapestry.debug("Script #{loaded} of #{toload} loaded", this);
+ // Tapestry.debug("Script #{loaded} of #{toload} loaded", this);
// Evaluated the dependent script only once all the elements have
loaded.
@@ -1325,7 +1325,7 @@
*/
contains : function (collection, prop, assetURL)
{
- Tapestry.debug("Checking previously loaded for: " + assetURL);
+ // Tapestry.debug("Checking previously loaded for: " + assetURL);
return $A(collection).any(function (element)
{
@@ -1336,7 +1336,7 @@
var complete =
Prototype.Browser.IE ? Tapestry.rebuildURL(existing) :
existing;
- Tapestry.debug("Previously loaded: " + complete);
+ // Tapestry.debug("Previously loaded: " + complete);
return complete == assetURL;
});
@@ -1362,7 +1362,7 @@
if (Tapestry.ScriptManager.contains(document.scripts, "src",
assetURL)) return; // continue to next script
- Tapestry.debug("Loading script: " + assetURL);
+ // Tapestry.debug("Loading script: " + assetURL);
var element = new Element('script', { src: assetURL, type:
'text/javascript' });