mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Issue #618 - Fix typo and remove old function declarations.
This commit is contained in:
parent
9201808e0a
commit
5ff6eca6c9
2 changed files with 1 additions and 3 deletions
|
|
@ -509,7 +509,7 @@ function ResolutionError(resolution, kind, name, line, column)
|
|||
function ModuleEvaluate()
|
||||
{
|
||||
if (!IsObject(this) || !IsModule(this))
|
||||
return callFunction(CallModuleMethodIfWrapped, this, "ModuleEvaluatie");
|
||||
return callFunction(CallModuleMethodIfWrapped, this, "ModuleEvaluate");
|
||||
|
||||
// Step 1
|
||||
let module = this;
|
||||
|
|
|
|||
|
|
@ -1034,8 +1034,6 @@ GlobalObject::initModuleProto(JSContext* cx, Handle<GlobalObject*> global)
|
|||
static const JSFunctionSpec protoFunctions[] = {
|
||||
JS_SELF_HOSTED_FN("getExportedNames", "ModuleGetExportedNames", 1, 0),
|
||||
JS_SELF_HOSTED_FN("resolveExport", "ModuleResolveExport", 2, 0),
|
||||
JS_SELF_HOSTED_FN("declarationInstantiation", "ModuleDeclarationInstantiation", 0, 0),
|
||||
JS_SELF_HOSTED_FN("evaluation", "ModuleEvaluation", 0, 0),
|
||||
JS_SELF_HOSTED_FN("declarationInstantiation", "ModuleInstantiate", 0, 0),
|
||||
JS_SELF_HOSTED_FN("evaluation", "ModuleEvaluate", 0, 0),
|
||||
JS_FS_END
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue