1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-10 00:00:53 +00:00

Add-Ons Loader System (#606)

Implements an Add-on Loader so that other add-ons, such as the FFZ Add-on Pack, can be loaded directly by FFZ without requiring the user to install multiple extensions into their browser.
This commit is contained in:
Mike 2019-06-01 02:11:22 -04:00 committed by GitHub
parent d9f252ee4e
commit a305d03b2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 716 additions and 11 deletions

View file

@ -16,6 +16,10 @@ import {duration_to_string} from 'utilities/time';
// ============================================================================
export const DEFAULT_TYPES = {
tostring(val) {
return `${val}`
},
select(val, node, locale, out, ast, data) {
const sub_ast = node.o && (node.o[val] || node.o.other);
if ( ! sub_ast )