Skip to content

Commit

Permalink
Export active auras window and api
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPrimate committed May 26, 2023
1 parent 0460bf5 commit 575d657
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hooks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
updateTokenHook,
updateWallHook,
} from "./lib/AAHooks.mjs";
import { ActiveAuras } from "./lib/ActiveAuras.mjs";



Expand All @@ -43,6 +44,7 @@ function configureApi() {
const API = {
AAHelpers,
AAMeasure,
ActiveAuras,
};
game.modules.get(CONSTANTS.MODULE_NAME).api = API;
}
Expand Down
2 changes: 2 additions & 0 deletions src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { extendEffectsForm } from "./app/aurasTab.mjs";
import { initHooks, readyHooks, socketLibReadyHooks } from "./hooks.mjs";
import { AAHelpers } from "./lib/AAHelpers.mjs";
import { AAMeasure } from "./lib/AAMeasure.mjs";
import { ActiveAuras } from "./lib/ActiveAuras.mjs";


Hooks.on("init", initHooks);
Expand All @@ -13,3 +14,4 @@ window.AAHelpers = AAHelpers;
window.AAhelpers = AAHelpers;
window.AAMeasure = AAMeasure;
window.AAmeasure = AAMeasure;
window.ActiveAuras = ActiveAuras;

0 comments on commit 575d657

Please sign in to comment.