</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.3.0
- * 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
*/
<div id="cls-Ext.data.Store"></div>/**
* @class Ext.data.Store
* to add to the cache. See {@link #recordType}.
*/
add : function(records) {
- var i, record, index;
+ var i, len, record, index;
records = [].concat(records);
if (records.length < 1) {
* @param {Ext.data.Record[]} records An Array of Ext.data.Record objects to add to the cache.
*/
insert : function(index, records) {
- var i, record;
+ var i, len, record;
records = [].concat(records);
for (i = 0, len = records.length; i < len; i++) {
// private
// Called as a callback by the Reader during a load operation.
loadRecords : function(o, options, success){
- var i;
+ var i, len;
if (this.isDestroyed === true) {
return;