X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/examples/tasks/classes.js diff --git a/examples/tasks/classes.js b/examples/tasks/classes.js index 3e164cef..0ba600d8 100644 --- a/examples/tasks/classes.js +++ b/examples/tasks/classes.js @@ -1,11 +1,9 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - +/*! + * Ext JS Library 3.1.1 + * Copyright(c) 2006-2010 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ Ext.BLANK_IMAGE_URL = 'images/s.gif'; Task = Ext.data.Record.create([ @@ -97,7 +95,7 @@ CategoryStore = function(){ }); } -Ext.extend(CategoryStore, Ext.data.SimpleStore, { +Ext.extend(CategoryStore, Ext.data.ArrayStore, { init : function(store){ var cats = store.collect('category', false, true); this.loadData(cats);