Skip to content

Global scripts

Lucio Paiva edited this page Sep 21, 2019 · 1 revision

Feature added in v2.3.0

Before loading any scripts matching each of the domain levels in the current page, Witchcraft will first look for _global.js and _global.css and load them, if found.

This is useful to run routines that are common to all of your scripts.

Clone this wiki locally