#94 Prepared empty functionality module

This commit is contained in:
Serraniel 2020-10-26 20:30:50 +01:00
parent fb5fa15337
commit abb4c05857
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,10 @@
import * as core from '../utils/aniwatchCore';
import * as helper from '../utils/helpers';
export function init() {
core.registerScript(node => {
// run the scripts
}, "^/anime/[0-9]*/[0-9]*$");
}

View file

@ -3,6 +3,7 @@ import { initCore } from './utils/aniwatchCore';
// helper // helper
import { initHelpers } from './utils/helpers'; import { initHelpers } from './utils/helpers';
// enhancements // enhancements
import { init as anilyr } from './enhancements/anilyr';
import { init as animeRequests } from './enhancements/animeRequests'; import { init as animeRequests } from './enhancements/animeRequests';
import { init as languageDisplay } from './enhancements/languageDisplay'; import { init as languageDisplay } from './enhancements/languageDisplay';
import { init as quickSearch } from './enhancements/quickSearch'; import { init as quickSearch } from './enhancements/quickSearch';
@ -14,6 +15,7 @@ initCore();
initHelpers(); initHelpers();
// enhancements // enhancements
anilyr();
animeRequests(); animeRequests();
languageDisplay(); languageDisplay();
quickSearch(); quickSearch();