From 9c3fbd31a1187e3b603b1249ba7fc15c62e93c39 Mon Sep 17 00:00:00 2001 From: Serraniel Date: Tue, 27 Oct 2020 19:44:17 +0100 Subject: [PATCH] #99 Added empty script for profile --- src/javascript/enhancements/profile.js | 8 ++++++++ src/javascript/index.js | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 src/javascript/enhancements/profile.js diff --git a/src/javascript/enhancements/profile.js b/src/javascript/enhancements/profile.js new file mode 100644 index 0000000..34a9aca --- /dev/null +++ b/src/javascript/enhancements/profile.js @@ -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]*$"); +} \ No newline at end of file diff --git a/src/javascript/index.js b/src/javascript/index.js index 9d86b8a..97afc57 100644 --- a/src/javascript/index.js +++ b/src/javascript/index.js @@ -5,6 +5,7 @@ import { initHelpers } from './utils/helpers'; // enhancements import { init as animeRequests } from './enhancements/animeRequests'; import { init as languageDisplay } from './enhancements/languageDisplay'; +import { init as profile } from './enhancements/profile'; import { init as quickSearch } from './enhancements/quickSearch'; // core @@ -16,4 +17,5 @@ initHelpers(); // enhancements animeRequests(); languageDisplay(); +profile(); quickSearch(); \ No newline at end of file