File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,10 @@ globalThis.projectfu = {
133133 } ,
134134} ;
135135
136+ // These are pulled out of the init hook to ensure they are overridden before any modules that may apply mixins later
137+ CONFIG . Token . rulerClass = FUTokenRuler ;
138+ CONFIG . Token . objectClass = FUToken ;
139+
136140/* -------------------------------------------- */
137141/* Init Hook */
138142/* -------------------------------------------- */
@@ -411,10 +415,6 @@ Hooks.once('init', async () => {
411415 // CONFIG.Token.rulerClass = null;
412416 // }
413417
414- // Override token ruler class
415- CONFIG . Token . rulerClass = FUTokenRuler ;
416- CONFIG . Token . objectClass = FUToken ;
417-
418418 // Preload Handlebars templates.
419419 return preloadHandlebarsTemplates ( ) ;
420420} ) ;
You can’t perform that action at this time.
0 commit comments