| 1 | define([ |
| 2 | "dojo/_base/declare", |
| 3 | "dojo/dom-construct" |
| 4 | ], function(declare, domConstruct){ |
| 5 | |
| 6 | // module: |
| 7 | // dojox/mobile/bidi/_PickerBase |
| 8 | |
| 9 | return declare(null, { |
| 10 | |
| 11 | buildRendering:function(){ |
| 12 | this.inherited(arguments); |
| 13 | if(!this.isLeftToRight()){ |
| 14 | for(var i = this.domNode.children.length; i > 0; i--){ |
| 15 | domConstruct.place(this.domNode.children[0], this.domNode.children[i - 1], "after"); |
| 16 | } |
| 17 | } |
| 18 | } |
| 19 | }); |
| 20 | }); |