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 4.0.7 - Released 10/19/2011
[extjs.git]
/
src
/
util
/
HashMap.js
diff --git
a/src/util/HashMap.js
b/src/util/HashMap.js
index
0a91487
..
abbd56d
100644
(file)
--- a/
src/util/HashMap.js
+++ b/
src/util/HashMap.js
@@
-36,6
+36,9
@@
map.each(function(key, value, length){
* </p>
*/
Ext.define('Ext.util.HashMap', {
* </p>
*/
Ext.define('Ext.util.HashMap', {
+ mixins: {
+ observable: 'Ext.util.Observable'
+ },
/**
* @cfg {Function} keyFn A function that is used to retrieve a default key for a passed object.
/**
* @cfg {Function} keyFn A function that is used to retrieve a default key for a passed object.
@@
-43,10
+46,6
@@
Ext.define('Ext.util.HashMap', {
* if the add method is called with a single argument.
*/
* if the add method is called with a single argument.
*/
- mixins: {
- observable: 'Ext.util.Observable'
- },
-
/**
* Creates new HashMap.
* @param {Object} config (optional) Config object.
/**
* Creates new HashMap.
* @param {Object} config (optional) Config object.
@@
-154,7
+153,7
@@
Ext.define('Ext.util.HashMap', {
}
if (me.containsKey(key)) {
}
if (me.containsKey(key)) {
- me.replace(key, value);
+
return
me.replace(key, value);
}
data = me.getData(key, value);
}
data = me.getData(key, value);