diff options
author | Andreas Kling <kling@serenityos.org> | 2022-11-23 11:41:19 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-11-23 16:05:59 +0000 |
commit | 58feae8b6064db5eacce5aa845c02adf143ea99f (patch) | |
tree | 915d8e3e8d8b753830c87ff755553f27b31c0430 | |
parent | 96cbf368bd6bf051d49784a6db563c630a2b97e5 (diff) | |
download | serenity-58feae8b6064db5eacce5aa845c02adf143ea99f.zip |
LibJS: Make CyclicModule.h not include PromiseCapability.h
-rw-r--r-- | Userland/Libraries/LibJS/CyclicModule.h | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibJS/Module.cpp | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibJS/SourceTextModule.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/CyclicModule.h b/Userland/Libraries/LibJS/CyclicModule.h index 54780fcaf5..7f572e931c 100644 --- a/Userland/Libraries/LibJS/CyclicModule.h +++ b/Userland/Libraries/LibJS/CyclicModule.h @@ -10,7 +10,6 @@ #include <LibJS/Forward.h> #include <LibJS/Module.h> #include <LibJS/Parser.h> -#include <LibJS/Runtime/PromiseCapability.h> namespace JS { diff --git a/Userland/Libraries/LibJS/Module.cpp b/Userland/Libraries/LibJS/Module.cpp index 0baabada4e..c5ba4cdc67 100644 --- a/Userland/Libraries/LibJS/Module.cpp +++ b/Userland/Libraries/LibJS/Module.cpp @@ -8,6 +8,8 @@ #include <LibJS/CyclicModule.h> #include <LibJS/Module.h> #include <LibJS/Runtime/ModuleNamespaceObject.h> +#include <LibJS/Runtime/Promise.h> +#include <LibJS/Runtime/VM.h> namespace JS { diff --git a/Userland/Libraries/LibJS/SourceTextModule.h b/Userland/Libraries/LibJS/SourceTextModule.h index 756a9e81db..21531a9252 100644 --- a/Userland/Libraries/LibJS/SourceTextModule.h +++ b/Userland/Libraries/LibJS/SourceTextModule.h @@ -11,6 +11,7 @@ #include <LibJS/CyclicModule.h> #include <LibJS/Forward.h> #include <LibJS/Parser.h> +#include <LibJS/Runtime/ExecutionContext.h> namespace JS { |