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.3.1 - Released 11/30/2010
[extjs.git]
/
docs
/
source
/
Observable.html
diff --git
a/docs/source/Observable.html
b/docs/source/Observable.html
index
b82a6e9
..
8cf2a53
100644
(file)
--- a/
docs/source/Observable.html
+++ b/
docs/source/Observable.html
@@
-7,10
+7,10
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.
2
.1
- * Copyright(c) 2006-2010
Ext JS,
Inc.
- * licensing@
extjs
.com
- * http://www.
extjs
.com/license
+ * Ext JS Library 3.
3
.1
+ * Copyright(c) 2006-2010
Sencha
Inc.
+ * licensing@
sencha
.com
+ * http://www.
sencha
.com/license
*/
(function(){
*/
(function(){
@@
-233,11
+233,11
@@
myGridPanel.on({
var me = this,
e,
oe,
var me = this,
e,
oe,
- isF,
- ce;
+ ce;
+
if (typeof eventName == 'object') {
o = eventName;
if (typeof eventName == 'object') {
o = eventName;
- for (e in o){
+ for (e in o)
{
oe = o[e];
if (!me.filterOptRe.test(e)) {
me.addListener(e, oe.fn || oe, oe.scope || o.scope, oe.fn ? oe : o);
oe = o[e];
if (!me.filterOptRe.test(e)) {
me.addListener(e, oe.fn || oe, oe.scope || o.scope, oe.fn ? oe : o);
@@
-395,12
+395,16
@@
function createSingle(h, e, fn, scope){
function createDelayed(h, o, l, scope){
return function(){
function createDelayed(h, o, l, scope){
return function(){
- var task = new EXTUTIL.DelayedTask();
+ var task = new EXTUTIL.DelayedTask(),
+ args = Array.prototype.slice.call(arguments, 0);
if(!l.tasks) {
l.tasks = [];
}
l.tasks.push(task);
if(!l.tasks) {
l.tasks = [];
}
l.tasks.push(task);
- task.delay(o.delay || 10, h, scope, Array.prototype.slice.call(arguments, 0));
+ task.delay(o.delay || 10, function(){
+ l.tasks.remove(task);
+ h.apply(scope, args);
+ }, scope);
};
};
};
};
@@
-425,7
+429,8
@@
EXTUTIL.Event.prototype = {
},
createListener: function(fn, scope, o){
},
createListener: function(fn, scope, o){
- o = o || {}, scope = scope || this.obj;
+ o = o || {};
+ scope = scope || this.obj;
var l = {
fn: fn,
scope: scope,
var l = {
fn: fn,
scope: scope,