git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git]
/
docs
/
source
/
ext-base-anim.html
diff --git
a/docs/source/ext-base-anim.html
b/docs/source/ext-base-anim.html
index
452e04d
..
d721fdd
100644
(file)
--- a/
docs/source/ext-base-anim.html
+++ b/
docs/source/ext-base-anim.html
@@
-1,5
+1,6
@@
<html>
\r
<head>
\r
<html>
\r
<head>
\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
<title>The source code</title>
\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
<title>The source code</title>
\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
@@
-109,9
+110,9
@@
}else if(isset(by)) {
\r
if (Ext.isArray(start)){
\r
end = [];
\r
}else if(isset(by)) {
\r
if (Ext.isArray(start)){
\r
end = [];
\r
-
Ext.each(start, function(v, i)
{
\r
-
end[i] = v
+ by[i];
\r
- });
\r
+
for(var i=0,len=start.length; i<len; i++)
{
\r
+
end[i] = start[i]
+ by[i];
\r
+ }
\r
}else{
\r
end = start + by;
\r
}
\r
}else{
\r
end = start + by;
\r
}
\r
@@
-274,8
+275,9
@@
},
\r
\r
run: function(){
\r
},
\r
\r
run: function(){
\r
- var tf;
\r
- Ext.each(queue, function(tween){
\r
+ var tf, i, len, tween;
\r
+ for(i = 0, len = queue.length; i<len; i++) {
\r
+ tween = queue[i];
\r
if(tween && tween.isAnimated){
\r
tf = tween.totalFrames;
\r
if(tween.curFrame < tf || tf === null){
\r
if(tween && tween.isAnimated){
\r
tf = tween.totalFrames;
\r
if(tween.curFrame < tf || tf === null){
\r
@@
-287,23
+289,21
@@
}else{
\r
me.stop(tween);
\r
}
\r
}else{
\r
me.stop(tween);
\r
}
\r
- }
\r
- }
, me);
\r
+ }
\r
+ }
\r
}
\r
});
\r
\r
var getIndex = function(anim) {
\r
}
\r
});
\r
\r
var getIndex = function(anim) {
\r
- var out = -1;
\r
- Ext.each(queue, function(item, idx){
\r
- if(item == anim){
\r
- out = idx;
\r
- return false;
\r
+ var i, len;
\r
+ for(i = 0, len = queue.length; i<len; i++) {
\r
+ if(queue[i] === anim) {
\r
+ return i;
\r
}
\r
}
\r
- }
);
\r
- return
out
;
\r
+ }
\r
+ return
-1
;
\r
};
\r
\r
};
\r
\r
-
\r
var correctFrame = function(tween) {
\r
var frames = tween.totalFrames,
\r
frame = tween.curFrame,
\r
var correctFrame = function(tween) {
\r
var frames = tween.totalFrames,
\r
frame = tween.curFrame,
\r