X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..b37ceabb82336ee82757cd32efe353cfab8ec267:/pkgs/data-foundation-debug.js diff --git a/pkgs/data-foundation-debug.js b/pkgs/data-foundation-debug.js index 4690ee8f..7096f684 100644 --- a/pkgs/data-foundation-debug.js +++ b/pkgs/data-foundation-debug.js @@ -1,5 +1,5 @@ /*! - * Ext JS Library 3.2.0 + * Ext JS Library 3.2.2 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license @@ -1096,15 +1096,13 @@ sortInfo: { }, /** - * @property isDestroyed - * @type Boolean + * @property {Boolean} isDestroyed * True if the store has been destroyed already. Read only */ isDestroyed: false, /** - * @property hasMultiSort - * @type Boolean + * @property {Boolean} hasMultiSort * True if this store is currently sorted by more than one field/direction combination. */ hasMultiSort: false, @@ -1290,7 +1288,7 @@ sortInfo: { * @event clear * Fires when the data cache has been cleared. * @param {Store} this - * @param {Record[]} The records that were cleared. + * @param {Record[]} records The records that were cleared. */ 'clear', /** @@ -1496,6 +1494,7 @@ sortInfo: { Ext.each(record, function(r){ this.remove(r); }, this); + return; } var index = this.data.indexOf(record); if(index > -1){ @@ -2201,6 +2200,7 @@ myStore.reload(lastOptions); }, /** + * @private * Creates and returns a function which sorts an array by the given field and direction * @param {String} field The field to create the sorter for * @param {String} direction The direction to sort by (defaults to "ASC") @@ -2325,9 +2325,9 @@ myStore.reload(lastOptions); } /** + * Object containing overall sort direction and an ordered array of sorter configs used when sorting on multiple fields * @property multiSortInfo * @type Object - * Object containing overall sort direction and an ordered array of sorter configs used when sorting on multiple fields */ this.multiSortInfo = { sorters : sorters, @@ -2407,6 +2407,7 @@ myStore.reload(lastOptions); }, /** + * @private * Given an array of filter functions (each with optional scope), constructs and returns a single function that returns * the result of all of the filters ANDed together * @param {Array} filters The array of filter objects (each object should contain an 'fn' and optional scope) @@ -2434,6 +2435,7 @@ myStore.reload(lastOptions); * Single filter example: * store.filter('name', 'Ed', true, true); //finds all records containing the substring 'Ed' * Multiple filter example: + *

      * store.filter([
      *   {
      *     property     : 'name',
@@ -2450,6 +2452,7 @@ myStore.reload(lastOptions);
      *     scope: this
      *   }
      * ]);
+     * 
* @param {String|Array} field A field on your records, or an array containing multiple filter options * @param {String/RegExp} value Either a string that the field should begin with, or a RegExp to test * against the field.