Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git] / pkgs / data-json-debug.js
index 14df5a9..c28fa5e 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.2.2
+ * Ext JS Library 3.3.0
  * Copyright(c) 2006-2010 Ext JS, Inc.
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -112,7 +112,7 @@ var myReader = new Ext.data.JsonReader({
     // constructor that provides mapping for reading the record data objects
     {@link Ext.data.DataReader#fields fields}: [
         // map Record's 'firstname' field to data object's key of same name
-        {name: 'name'},
+        {name: 'name', mapping: 'firstname'},
         // map Record's 'job' field to data object's 'occupation' key
         {name: 'job', mapping: 'occupation'}
     ]