| 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("editor.Editor", require.toUrl("./Editor.html"), 999999); |
| 7 |
doh.register("editor.nls_8859-2", require.toUrl("./nls_8859-2.html"), 999999); |
| 8 |
doh.register("editor.nls_sjis", require.toUrl("./nls_sjis.html"), 999999); |
| 9 |
doh.register("editor.nls_utf8", require.toUrl("./nls_utf8.html"), 999999); |
| 10 |
doh.register("editor.Editor_stylesheet", require.toUrl("./Editor_stylesheet.html"), 999999); |
| 11 |
doh.register("editor.html", require.toUrl("./html.html"), 999999); |
| 12 |
|
| 13 |
|
| 14 |
if(test_robot){ |
| 15 |
doh.register("editor.robot.Editor_mouse", require.toUrl("./robot/Editor_mouse.html"), 999999); |
| 16 |
doh.register("editor.robot.Editor_a11y", require.toUrl("./robot/Editor_a11y.html"), 999999); |
| 17 |
doh.register("editor.robot.Misc", require.toUrl("./robot/Editor_misc.html"), 999999); |
| 18 |
doh.register("editor.robot.Bidi", require.toUrl("./robot/Editor_bidi.html"), 999999); |
| 19 |
} |
| 20 |
|
| 21 |
|
| 22 |
if(test_robot){ |
| 23 |
doh.register("editor.robot.CustomPlugin", require.toUrl("./robot/CustomPlugin.html"), 999999); |
| 24 |
doh.register("editor.robot.EnterKeyHandling", require.toUrl("./robot/EnterKeyHandling.html"), 999999); |
| 25 |
doh.register("editor.robot.FullScreen", require.toUrl("./robot/Editor_FullScreen.html"), 999999); |
| 26 |
doh.register("editor.robot.ViewSource", require.toUrl("./robot/Editor_ViewSource.html"), 999999); |
| 27 |
doh.register("editor.robot.NewPage", require.toUrl("./robot/Editor_NewPage.html"), 999999); |
| 28 |
doh.register("editor.robot.LinkDialog", require.toUrl("./robot/Editor_LinkDialog.html"), 999999); |
| 29 |
doh.register("editor.robot.FontChoice", require.toUrl("./robot/Editor_FontChoice.html"), 999999); |
| 30 |
doh.register("editor.robot.ToggleDir", require.toUrl("./robot/ToggleDir.html"), 999999); |
| 31 |
doh.register("editor.robot.TabIndent", require.toUrl("./robot/TabIndent.html"), 999999); |
| 32 |
} |
| 33 |
|
| 34 |
if(test_robot && !has("webkit")){ |
| 35 |
|
| 36 |
|
| 37 |
doh.register("editor.robot.BackForwardState", require.toUrl("./robot/BackForwardState.html"), 999999); |
| 38 |
} |
| 39 |
|
| 40 |
|
| 41 |
if(test_robot && has("ie") == 9){ |
| 42 |
doh.register("editor.robot.Editor_IE8Compat", require.toUrl("./robot/Editor_IE8Compat.html"), 999999); |
| 43 |
} |
| 44 |
|
| 45 |
}); |
| 46 |
|
| 47 |
|
| 48 |
|