[Pkg-javascript-commits] [dojo] 04/87: Fix API doc for dojo/fx/easing (on 1.7 branch), and remove global dojo reference, refs #13101 !strict.
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:13 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.7.5
in repository dojo.
commit 926bcad4470770d13258c9c3c95fa1da4cc85bfb
Author: Bill Keese <bill at dojotoolkit.org>
Date: Fri Nov 4 09:11:43 2011 +0000
Fix API doc for dojo/fx/easing (on 1.7 branch), and remove global dojo reference, refs #13101 !strict.
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@26964 560b804f-0ae3-0310-86f3-f6aa0a117693
---
fx/easing.js | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/fx/easing.js b/fx/easing.js
index 5ef0dc2..33d3c65 100644
--- a/fx/easing.js
+++ b/fx/easing.js
@@ -1,10 +1,10 @@
-define(["../_base/kernel","../_base/lang"], function(dojo, lang) {
- // module:
- // dojo/fx/easing
- // summary:
- // This module defines standard easing functions that are useful for animations.
-var fxEasing = lang.getObject("dojo.fx.easing",true);
-var easingFuncs = {
+define(["../_base/lang"], function(lang) {
+// module:
+// dojo/fx/easing
+// summary:
+// This module defines standard easing functions that are useful for animations.
+
+var easingFuncs = /*===== dojo.fx.easing= =====*/ {
// summary:
// Collection of easing functions to use beyond the default
// `dojo._defaultEasing` function.
@@ -277,6 +277,8 @@ var easingFuncs = {
return (easingFuncs.bounceOut(n * 2 - 1) / 2) + 0.5; // Decimal
}
};
-lang.mixin(fxEasing,easingFuncs);
+
+lang.setObject("dojo.fx.easing", easingFuncs);
+
return easingFuncs;
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list