| 1 |
define(["doh/main", "require", "dojo/sniff"], function(doh, require, has){ |
| 2 |
|
| 3 |
var test_robot = has("trident") || has("ff") || has("chrome") < 45; |
| 4 |
|
| 5 |
|
| 6 |
doh.register("Bidi", require.toUrl("./Bidi.html"), 999999); |
| 7 |
|
| 8 |
doh.register("Menu", require.toUrl("./Menu.html"), 999999); |
| 9 |
if(test_robot){ |
| 10 |
doh.register("robot.Menu_mouse", require.toUrl("./robot/Menu_mouse.html"), 999999); |
| 11 |
doh.register("robot.Menu_a11y", require.toUrl("./robot/Menu_a11y.html"), 999999); |
| 12 |
doh.register("robot.Menu_iframe", require.toUrl("./robot/Menu_iframe.html"), 999999); |
| 13 |
} |
| 14 |
|
| 15 |
doh.register("Dialog", require.toUrl("./Dialog.html"), 999999); |
| 16 |
if(test_robot){ |
| 17 |
doh.register("robot.Dialog_mouse", require.toUrl("./robot/Dialog_mouse.html"), 999999); |
| 18 |
doh.register("robot.Dialog_a11y", require.toUrl("./robot/Dialog_a11y.html"), 999999); |
| 19 |
doh.register("robot.Dialog_focusDestroy", require.toUrl("./robot/Dialog_focusDestroy.html"), 999999); |
| 20 |
} |
| 21 |
doh.register("ConfirmDialog", require.toUrl("./ConfirmDialog.html"), 999999); |
| 22 |
if(test_robot){ |
| 23 |
doh.register("robot.ConfirmDialog_a11y", require.toUrl("./robot/ConfirmDialog_a11y.html"), 999999); |
| 24 |
} |
| 25 |
|
| 26 |
doh.register("ProgressBar", require.toUrl("./ProgressBar.html"), 999999); |
| 27 |
|
| 28 |
if(test_robot){ |
| 29 |
doh.register("robot.Tooltip_a11y", require.toUrl("./robot/Tooltip_a11y.html"), 999999); |
| 30 |
doh.register("robot.Tooltip_mouse", require.toUrl("./robot/Tooltip_mouse.html"), 999999); |
| 31 |
doh.register("robot.Tooltip_mouse_quirks", require.toUrl("./robot/Tooltip_mouse_quirks.html"), 999999); |
| 32 |
} |
| 33 |
doh.register("Tooltip-placement", require.toUrl("./Tooltip-placement.html"), 999999); |
| 34 |
|
| 35 |
doh.register("TooltipDialog", require.toUrl("./TooltipDialog.html"), 999999); |
| 36 |
if(test_robot){ |
| 37 |
doh.register("robot.TooltipDialog_mouse", require.toUrl("./robot/TooltipDialog_mouse.html"), 999999); |
| 38 |
doh.register("robot.TooltipDialog_a11y", require.toUrl("./robot/TooltipDialog_a11y.html"), 999999); |
| 39 |
doh.register("robot.ConfirmTooltipDialog_a11y", require.toUrl("./robot/ConfirmTooltipDialog_a11y.html"), 999999); |
| 40 |
} |
| 41 |
|
| 42 |
if(test_robot){ |
| 43 |
doh.register("robot.InlineEditBox", require.toUrl("./robot/InlineEditBox.html"), 999999); |
| 44 |
} |
| 45 |
|
| 46 |
if(test_robot){ |
| 47 |
doh.register("robot.ColorPalette", require.toUrl("./robot/ColorPalette.html"), 999999); |
| 48 |
} |
| 49 |
|
| 50 |
doh.register("CalendarLite", require.toUrl("./CalendarLite.html"), 999999); |
| 51 |
if(test_robot){ |
| 52 |
doh.register("robot.Calendar_a11y", require.toUrl("./robot/Calendar_a11y.html"), 999999); |
| 53 |
} |
| 54 |
|
| 55 |
if(test_robot){ |
| 56 |
doh.register("robot.TitlePane", require.toUrl("./robot/TitlePane.html"), 999999); |
| 57 |
} |
| 58 |
|
| 59 |
doh.register("Fieldset", require.toUrl("./Fieldset.html"), 999999); |
| 60 |
if(test_robot){ |
| 61 |
doh.register("robot.Fieldset", require.toUrl("./robot/Fieldset.html"), 999999); |
| 62 |
} |
| 63 |
|
| 64 |
if(test_robot){ |
| 65 |
doh.register("robot.Toolbar", require.toUrl("./robot/Toolbar.html"), 999999); |
| 66 |
} |
| 67 |
|
| 68 |
doh.register("_TimePicker", require.toUrl("./_TimePicker.html"), 999999); |
| 69 |
|
| 70 |
doh.register("InlineEditBox", require.toUrl("./InlineEditBox.html"), 999999); |
| 71 |
|
| 72 |
}); |