This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -34,6 +34,14 @@ class Lib {
js.Syntax.code("debugger");
}
/**
Inserts an `import` expression that loads JavaScript object from
a module or file specified in the `module` argument.
**/
public static inline function dynamicImport(module:String):js.lib.Promise<Dynamic> {
return js.Syntax.code("import({0})", module);
}
/**
Display an alert message box containing the given message.
@deprecated Use Browser.alert() instead.
@ -124,7 +132,7 @@ class Lib {
}
/**
Re-throw last cathed exception, preserving original stack information.
Re-throw last caught exception, preserving original stack information.
Calling this is only possible inside a catch statement.
**/