| 1 | define([ |
| 2 | "dojo/_base/declare", |
| 3 | "dojo/dom-class" |
| 4 | ], function(declare, domClass){ |
| 5 | |
| 6 | // module: |
| 7 | // mobile/bidi/FormLayout |
| 8 | |
| 9 | return declare(null, { |
| 10 | |
| 11 | buildRendering:function(){ |
| 12 | this.inherited(arguments); |
| 13 | if(!this.isLeftToRight() && this.rightAlign){ |
| 14 | domClass.add(this.domNode, "mblFormLayoutRightAlignRtl"); |
| 15 | } |
| 16 | } |
| 17 | }); |
| 18 | }); |