* </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.
* if the add method is called with a single argument.
*/
- mixins: {
- observable: 'Ext.util.Observable'
- },
-
/**
* Creates new HashMap.
* @param {Object} config (optional) Config object.
}
if (me.containsKey(key)) {
- me.replace(key, value);
+ return me.replace(key, value);
}
data = me.getData(key, value);