diff --git a/example.html b/example.html index fd3b6d9..12cfd46 100644 --- a/example.html +++ b/example.html @@ -14,6 +14,8 @@ // The actual library import controllers from "controller-registry" + window.controllers = controllers + // Define a basic word filter controller for input elements controllers.define("filter", (element, detach) => { element.addEventListener("input", event => { diff --git a/package.json b/package.json index 0ad6a10..57b4bb4 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ }, "type": "module", "license": "MIT", - "version": "0.0.1", + "version": "0.0.2", "url": "https://git.but.gay/darkwiiplayer/controller-registry", "scripts": { "definitions": "tsc src/*.js --declaration --allowJs --emitDeclarationOnly"