myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r434060 - /myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/effect/resource/fader.js
Date Wed, 23 Aug 2006 15:03:04 GMT
Author: werpu
Date: Wed Aug 23 08:03:03 2006
New Revision: 434060

URL: http://svn.apache.org/viewvc?rev=434060&view=rev
Log:
fixed up a small syntax error in the js
it now validates correctly

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/effect/resource/fader.js

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/effect/resource/fader.js
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/effect/resource/fader.js?rev=434060&r1=434059&r2=434060&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/effect/resource/fader.js
(original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/effect/resource/fader.js
Wed Aug 23 08:03:03 2006
@@ -13,20 +13,20 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 org_apache_myfaces_effects_fader = function (theid, thetime) {
-	fadeid = theid;
-	time = thetime;
+	this.fadeid = theid;
+	this.time = thetime;
 };
 org_apache_myfaces_effects_fader.prototype.hide = function () {
-	dojo.style.setOpacity(dojo.byId(fadeid), 0);
+	dojo.style.setOpacity(dojo.byId(this.fadeid), 0);
 };
 org_apache_myfaces_effects_fader.prototype.fadeIn = function () {
-	dojo.lfx.html.fadeIn(dojo.byId(fadeid), time).play();
+	dojo.lfx.html.fadeIn(dojo.byId(this.fadeid), this.time).play();
 };
 org_apache_myfaces_effects_fader.prototype.show = function () {
-	dojo.style.setOpacity(dojo.byId(fadeid), 100);
+	dojo.style.setOpacity(dojo.byId(this.fadeid), 100);
 };
 org_apache_myfaces_effects_fader.prototype.fadeOut = function () {
-	dojo.lfx.html.fadeOut(dojo.byId(fadeid), time).play();
+	dojo.lfx.html.fadeOut(dojo.byId(this.fadeid), this.time).play();
 };
-



Mime
View raw message