X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/examples/spinner/spinner.js diff --git a/examples/spinner/spinner.js b/examples/spinner/spinner.js index 46b957a3..da204867 100644 --- a/examples/spinner/spinner.js +++ b/examples/spinner/spinner.js @@ -1,38 +1,38 @@ /*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC - * 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 */ -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'); +});