Added scene scraping to Teen Core Club.
This commit is contained in:
@@ -5,7 +5,10 @@ const moment = require('moment');
|
||||
const http = require('./http');
|
||||
|
||||
function trim(str) {
|
||||
if (!str) return null;
|
||||
if (typeof str !== 'string') {
|
||||
return null;
|
||||
}
|
||||
|
||||
return str.trim().replace(/\s+/g, ' ');
|
||||
}
|
||||
|
||||
@@ -263,6 +266,7 @@ function init(element, window) {
|
||||
}),
|
||||
...legacyContextFuncs,
|
||||
qu: quContextFuncs,
|
||||
query: quContextFuncs,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user