#94 Prepared empty functionality module
This commit is contained in:
parent
fb5fa15337
commit
abb4c05857
10
src/javascript/enhancements/anilyr.js
Normal file
10
src/javascript/enhancements/anilyr.js
Normal 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]*$");
|
||||||
|
}
|
||||||
|
|
|
@ -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();
|
Loading…
Reference in a new issue