From 81bea17aefb26859f825b9293c7c99192874806e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 8 Nov 2011 20:40:44 +0400 Subject: upgrade Dojo to 1.6.1 --- lib/dojo/NodeList-fx.js | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'lib/dojo/NodeList-fx.js') diff --git a/lib/dojo/NodeList-fx.js b/lib/dojo/NodeList-fx.js index de2cc3255..b9ec76647 100644 --- a/lib/dojo/NodeList-fx.js +++ b/lib/dojo/NodeList-fx.js @@ -1,5 +1,5 @@ /* - Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. + Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ @@ -10,6 +10,7 @@ dojo._hasResource["dojo.NodeList-fx"] = true; dojo.provide("dojo.NodeList-fx"); dojo.require("dojo.fx"); + /*===== dojo["NodeList-fx"] = { // summary: Adds dojo.fx animation support to dojo.query() @@ -25,7 +26,7 @@ dojo.extend(dojo.NodeList, { dojo.mixin(tmpArgs, args); return obj[method](tmpArgs); }) - ); + ); return args.auto ? a.play() && this : a; // dojo.Animation|dojo.NodeList }, @@ -34,7 +35,7 @@ dojo.extend(dojo.NodeList, { // wipe in all elements of this NodeList via `dojo.fx.wipeIn` // // args: Object? - // Additional dojo.Animation arguments to mix into this set with the addition of + // Additional dojo.Animation arguments to mix into this set with the addition of // an `auto` parameter. // // returns: dojo.Animation|dojo.NodeList @@ -58,7 +59,7 @@ dojo.extend(dojo.NodeList, { // wipe out all elements of this NodeList via `dojo.fx.wipeOut` // // args: Object? - // Additional dojo.Animation arguments to mix into this set with the addition of + // Additional dojo.Animation arguments to mix into this set with the addition of // an `auto` parameter. // // returns: dojo.Animation|dojo.NodeList @@ -77,7 +78,7 @@ dojo.extend(dojo.NodeList, { // slide all elements of the node list to the specified place via `dojo.fx.slideTo` // // args: Object? - // Additional dojo.Animation arguments to mix into this set with the addition of + // Additional dojo.Animation arguments to mix into this set with the addition of // an `auto` parameter. // // returns: dojo.Animation|dojo.NodeList @@ -100,7 +101,7 @@ dojo.extend(dojo.NodeList, { // fade in all elements of this NodeList via `dojo.fadeIn` // // args: Object? - // Additional dojo.Animation arguments to mix into this set with the addition of + // Additional dojo.Animation arguments to mix into this set with the addition of // an `auto` parameter. // // returns: dojo.Animation|dojo.NodeList @@ -119,7 +120,7 @@ dojo.extend(dojo.NodeList, { // fade out all elements of this NodeList via `dojo.fadeOut` // // args: Object? - // Additional dojo.Animation arguments to mix into this set with the addition of + // Additional dojo.Animation arguments to mix into this set with the addition of // an `auto` parameter. // // returns: dojo.Animation|dojo.NodeList @@ -155,14 +156,14 @@ dojo.extend(dojo.NodeList, { // example: // | dojo.query(".zork").animateProperty({ // | duration: 500, - // | properties: { + // | properties: { // | color: { start: "black", end: "white" }, - // | left: { end: 300 } - // | } + // | left: { end: 300 } + // | } // | }).play(); // // example: - // | dojo.query(".grue").animateProperty({ + // | dojo.query(".grue").animateProperty({ // | auto:true, // | properties: { // | height:240 @@ -171,9 +172,9 @@ dojo.extend(dojo.NodeList, { return this._anim(dojo, "animateProperty", args); // dojo.Animation|dojo.NodeList }, - anim: function( /*Object*/ properties, - /*Integer?*/ duration, - /*Function?*/ easing, + anim: function( /*Object*/ properties, + /*Integer?*/ duration, + /*Function?*/ easing, /*Function?*/ onEnd, /*Integer?*/ delay){ // summary: @@ -181,8 +182,8 @@ dojo.extend(dojo.NodeList, { // The returned animation object will already be playing when it // is returned. See the docs for `dojo.anim` for full details. // properties: Object - // the properties to animate. does NOT support the `auto` parameter like other - // NodeList-fx methods. + // the properties to animate. does NOT support the `auto` parameter like other + // NodeList-fx methods. // duration: Integer? // Optional. The time to run the animations for // easing: Function? @@ -207,7 +208,7 @@ dojo.extend(dojo.NodeList, { easing: easing }); }) - ); + ); if(onEnd){ dojo.connect(canim, "onEnd", onEnd); } -- cgit v1.2.3