Version 0.0.2
This commit is contained in:
parent
6d16a74d6e
commit
ac51fe41c7
2 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,8 @@
|
||||||
// The actual library
|
// The actual library
|
||||||
import controllers from "controller-registry"
|
import controllers from "controller-registry"
|
||||||
|
|
||||||
|
window.controllers = controllers
|
||||||
|
|
||||||
// Define a basic word filter controller for input elements
|
// Define a basic word filter controller for input elements
|
||||||
controllers.define("filter", (element, detach) => {
|
controllers.define("filter", (element, detach) => {
|
||||||
element.addEventListener("input", event => {
|
element.addEventListener("input", event => {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"url": "https://git.but.gay/darkwiiplayer/controller-registry",
|
"url": "https://git.but.gay/darkwiiplayer/controller-registry",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"definitions": "tsc src/*.js --declaration --allowJs --emitDeclarationOnly"
|
"definitions": "tsc src/*.js --declaration --allowJs --emitDeclarationOnly"
|
||||||
|
|
Loading…
Reference in a new issue