| 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 | doh.register("layout.ContentPane", require.toUrl("./ContentPane.html"), 999999); |
| 6 | doh.register("layout.test_ContentPane", require.toUrl("./test_ContentPane.html"), 999999); |
| 7 | doh.register("layout.ContentPaneLayout", require.toUrl("./ContentPaneLayout.html"), 999999); |
| 8 | doh.register("layout.ContentPane-remote", require.toUrl("./ContentPane-remote.html"), 999999); |
| 9 | doh.register("layout.ContentPane-auto-require", require.toUrl("./ContentPane-auto-require.html"), 999999); |
| 10 | |
| 11 | if(test_robot){ |
| 12 | doh.register("layout.robot.GUI", require.toUrl("./robot/GUI.html"), 999999); |
| 13 | } |
| 14 | |
| 15 | doh.register("layout.LayoutContainer_v1", require.toUrl("./LayoutContainer_v1.html"), 999999); |
| 16 | doh.register("layout.LayoutContainer", require.toUrl("./LayoutContainer.html"), 999999); |
| 17 | |
| 18 | doh.register("layout.StackContainer", require.toUrl("./StackContainer.html"), 999999); |
| 19 | doh.register("layout.NestedStackContainer", require.toUrl("./nestedStack.html"), 999999); |
| 20 | |
| 21 | doh.register("layout.TabContainer", require.toUrl("./TabContainer.html"), 999999); |
| 22 | if(test_robot){ |
| 23 | doh.register("layout.robot.TabContainer_a11y", require.toUrl("./robot/TabContainer_a11y.html"), 999999); |
| 24 | doh.register("layout.robot.TabContainer_mouse", require.toUrl("./robot/TabContainer_mouse.html"), 999999); |
| 25 | doh.register("layout.robot.TabContainer_noLayout", require.toUrl("./robot/TabContainer_noLayout.html"), 999999); |
| 26 | } |
| 27 | doh.register("layout.TabContainerTitlePane", require.toUrl("./TabContainerTitlePane.html"), 999999); |
| 28 | |
| 29 | doh.register("layout.AccordionContainer", require.toUrl("./AccordionContainer.html"), 999999); |
| 30 | if(test_robot){ |
| 31 | doh.register("layout.robot.AccordionContainer_a11y", require.toUrl("./robot/AccordionContainer_a11y.html"), 999999); |
| 32 | doh.register("layout.robot.AccordionContainer_mouse", require.toUrl("./robot/AccordionContainer_mouse.html"), 999999); |
| 33 | } |
| 34 | |
| 35 | doh.register("layout.BorderContainer", require.toUrl("./BorderContainer.html"), 999999); |
| 36 | if(test_robot){ |
| 37 | doh.register("layout.robot.BorderContainer", require.toUrl("./robot/BorderContainer.html"), 999999); |
| 38 | doh.register("layout.robot.BorderContainer_full", require.toUrl("./robot/BorderContainer_full.html"), 999999); |
| 39 | doh.register("layout.robot.BorderContainer_complex", require.toUrl("./robot/BorderContainer_complex.html"), 999999); |
| 40 | doh.register("layout.robot.BorderContainer_nested", require.toUrl("./robot/BorderContainer_nested.html"), 999999); |
| 41 | } |
| 42 | |
| 43 | }); |