//>>built
define("demos/mobileGallery/src/gridLayout",["dojo/_base/connect","dojo/dom","dojo/ready","dijit/registry","dojox/mobile/TransitionEvent","dojox/mobile/iconUtils","dojox/mobile/parser","dojox/mobile","dojox/mobile/compat","dojox/mobile/ScrollableView","dojox/mobile/GridLayout","dojox/mobile/Pane","dojox/mobile/Button","dojox/mobile/EdgeToEdgeCategory","dojox/mobile/TextBox"],function(_1,_2,_3,_4,_5,_6){return {init:function(){_3(function(){_6.createDomButton(_2.byId("MinusGridLayout"));_6.createDomButton(_2.byId("PlusGridLayout"));});goToSubMenu=function(id){var _7=_4.byId("pane1GridLayout");var _8={moveTo:"view2GridLayout",transition:"slide",transitionDir:1};var ev=new _5(_7.domNode,_8);ev.dispatch();};goToOrder=function(id){var _9=_4.byId("pane2-1GridLayout");var _a={moveTo:"view3GridLayout",transition:"slide",transitionDir:1};var ev=new _5(_9.domNode,_a);ev.dispatch();};plus=function(){var _b=_4.byId("numGridLayout");valueInt=parseInt(_b.textbox.value);valueInt=isNaN(valueInt)?0:valueInt+1;_b.textbox.value=valueInt.toString();};minus=function(){var _c=_4.byId("numGridLayout");valueInt=parseInt(_c.textbox.value);valueInt=isNaN(valueInt)||valueInt<=0?0:valueInt-1;_c.textbox.value=valueInt.toString();};cancel=function(){var _d=_4.byId("cancelGridLayout");var _e={moveTo:"view2GridLayout",transition:"slide",transitionDir:-1};var ev=new _5(_d.domNode,_e);ev.dispatch();};ok=function(){var _f=_4.byId("okGridLayout");var _10={moveTo:"view1GridLayout",transition:"fade",transitionDir:-1};var ev=new _5(_f.domNode,_10);ev.dispatch();};}};});