Feature/#99 hide placeholder tabs #100
8
src/javascript/enhancements/profile.js
Normal file
8
src/javascript/enhancements/profile.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import * as core from '../utils/aniwatchCore';
|
||||||
|
import * as helper from '../utils/helpers';
|
||||||
|
|
||||||
|
export function init() {
|
||||||
|
core.registerScript(node => {
|
||||||
|
|
||||||
|
}, "^/profile/[0-9]*$");
|
||||||
|
}
|
|
@ -5,6 +5,7 @@ import { initHelpers } from './utils/helpers';
|
||||||
// enhancements
|
// enhancements
|
||||||
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 profile } from './enhancements/profile';
|
||||||
import { init as quickSearch } from './enhancements/quickSearch';
|
import { init as quickSearch } from './enhancements/quickSearch';
|
||||||
|
|
||||||
// core
|
// core
|
||||||
|
@ -16,4 +17,5 @@ initHelpers();
|
||||||
// enhancements
|
// enhancements
|
||||||
animeRequests();
|
animeRequests();
|
||||||
languageDisplay();
|
languageDisplay();
|
||||||
|
profile();
|
||||||
quickSearch();
|
quickSearch();
|
Loading…
Reference in a new issue