<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
- <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../prettify/prettify.js"></script>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
* </p>
*/
Ext.define('Ext.util.HashMap', {
+ mixins: {
+ observable: 'Ext.util.Observable'
+ },
<span id='Ext-util-HashMap-cfg-keyFn'> /**
</span> * @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'
- },
-
<span id='Ext-util-HashMap-method-constructor'> /**
</span> * 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);