Author: hlship
Date: Mon Oct 17 20:55:00 2011
New Revision: 1185372
URL: http://svn.apache.org/viewvc?rev=1185372&view=rev
Log:
TAP5-990: Add a ElementEffect of "none" that does no animation
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=1185372&r1=1185371&r2=1185372&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
Mon Oct 17 20:55:00 2011
@@ -1785,6 +1785,10 @@ Tapestry.ElementEffect = {
/** Fades the content out (opposite of show). */
fade : function(element) {
return new Effect.Fade(element);
+ },
+
+ none : function(element) {
+ return element;
}
};