X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..b37ceabb82336ee82757cd32efe353cfab8ec267:/examples/spinner/spinner.js diff --git a/examples/spinner/spinner.js b/examples/spinner/spinner.js index c8a1e1d8..86c4bdc5 100644 --- a/examples/spinner/spinner.js +++ b/examples/spinner/spinner.js @@ -1,38 +1,38 @@ /*! - * Ext JS Library 3.1.0 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.2.2 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ -Ext.onReady(function(){ - var simple = new Ext.FormPanel({ - labelWidth: 40, // label settings here cascade unless overridden - frame: true, - title: 'Simple Form', - bodyStyle: 'padding:5px 5px 0', - width: 210, - defaults: {width: 135}, - defaultType: 'textfield', - - items: [ - new Ext.ux.form.SpinnerField({ - fieldLabel: 'Age', - name: 'age' - }), - { - xtype: 'spinnerfield', - fieldLabel: 'Test', - name: 'test', - minValue: 0, - maxValue: 100, - allowDecimals: true, - decimalPrecision: 1, - incrementValue: 0.4, - alternateIncrementValue: 2.1, - accelerate: true - } - ] - }); - - simple.render('form-ct'); -}); +Ext.onReady(function(){ + var simple = new Ext.FormPanel({ + labelWidth: 40, // label settings here cascade unless overridden + frame: true, + title: 'Simple Form', + bodyStyle: 'padding:5px 5px 0', + width: 210, + defaults: {width: 135}, + defaultType: 'textfield', + + items: [ + new Ext.ux.form.SpinnerField({ + fieldLabel: 'Age', + name: 'age' + }), + { + xtype: 'spinnerfield', + fieldLabel: 'Test', + name: 'test', + minValue: 0, + maxValue: 100, + allowDecimals: true, + decimalPrecision: 1, + incrementValue: 0.4, + alternateIncrementValue: 2.1, + accelerate: true + } + ] + }); + + simple.render('form-ct'); +});