dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
21 lines (17 loc) • 426 B
JavaScript
define([
"dojo/_base/declare",
"dojo/dom-construct"
], function(declare, domConstruct){
// module:
// dojox/mobile/bidi/_PickerBase
return declare(null, {
buildRendering:function(){
this.inherited(arguments);
if(!this.isLeftToRight()){
for(var i = this.domNode.children.length; i > 0; i--){
domConstruct.place(this.domNode.children[0], this.domNode.children[i - 1], "after");
}
}
}
});
});