Commit 47f60b47 authored by Duhoux Pierre-Louis's avatar Duhoux Pierre-Louis

Fix issue #9

parent 611a2231
Pipeline #31817106 passed with stages
in 2 minutes and 13 seconds
/**
* Abstract implementation for all sites based on FoolSlide
*/
var FoolSlide = function(options) {
window["FoolSlide"] = function(options) {
this.default_options = {
base_url: "http://foo.slide/",
series_list_url: "/directory/",
......@@ -104,7 +104,9 @@ var FoolSlide = function(options) {
}
this.whereDoIWriteScans = async function (doc, curUrl) {
doc = await this.passAdult(doc, curUrl) // only happens from test suite...
if ($(this.options.page_container, doc).length === 0) {
doc = await this.passAdult(doc, curUrl) // only happens from test suite...
}
return $(this.options.page_container, doc)
}
this.isCurrentPageAChapterPage = async function (doc, curUrl) {
......
/**
* Abstract implementation for all sites based on FoolSlide
*/
var FunMangaAbs = function (options) {
window["FunMangaAbs"] = function (options) {
this.default_options = {
search_url: "http://funmanga/",
search_data_field: "search",
......
/**
* Abstract implementation for all sites based on FoolSlide
*/
var MyMangaReaderCMS = function (options) {
window["MyMangaReaderCMS"] = function (options) {
this.default_options = {
base_url: "https://mymangareadercms/"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment