mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-15 17:46:55 +00:00
Initial commit for converting FrankerFaceZ to TypeScript.
This commit is contained in:
parent
ba72969c51
commit
b9d23accf0
86 changed files with 8673 additions and 5005 deletions
|
@ -597,7 +597,7 @@ export default class CSSTweaks extends Module {
|
|||
return;
|
||||
|
||||
if ( ! this.chunks_loaded )
|
||||
return this.populate().then(() => this._apply(key));
|
||||
return this.loadFromContext().then(() => this._apply(key));
|
||||
|
||||
if ( ! has(this.chunks, key) ) {
|
||||
this.log.warn(`Unknown chunk name "${key}" for toggle()`);
|
||||
|
@ -618,7 +618,7 @@ export default class CSSTweaks extends Module {
|
|||
deleteVariable(key) { this.style.delete(`var--${key}`) }
|
||||
|
||||
|
||||
populate() {
|
||||
loadFromContext() {
|
||||
if ( this.chunks_loaded )
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue