Rev | Line | |
---|
[483] | 1 | define(["dojo/has", "./_WidgetBase", "./_BidiMixin"], function(has, _WidgetBase, _BidiMixin){ |
---|
| 2 | |
---|
| 3 | // module: |
---|
| 4 | // dijit/_BidiSupport |
---|
| 5 | |
---|
| 6 | /*===== |
---|
| 7 | return function(){ |
---|
| 8 | // summary: |
---|
| 9 | // Deprecated module for enabling textdir support in the dijit widgets. New code should just define |
---|
| 10 | // has("dojo-bidi") to return true, rather than manually requiring this module. |
---|
| 11 | }; |
---|
| 12 | =====*/ |
---|
| 13 | |
---|
| 14 | _WidgetBase.extend(_BidiMixin); |
---|
| 15 | |
---|
| 16 | // Back-compat with version 1.8: just including _BidiSupport should trigger bidi support in all the widgets. |
---|
| 17 | // Although this statement doesn't do much because the other widgets have likely already been loaded. |
---|
| 18 | has.add("dojo-bidi", true); |
---|
| 19 | |
---|
| 20 | return _WidgetBase; |
---|
| 21 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.