mirror of
https://github.com/MioMioOS/MioIsland
synced 2026-04-21 21:47:47 +00:00
Replace with native .bundle plugin architecture in next commits. Old declarative system (themes/buddy/sound JSON) removed entirely. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
25 lines
471 B
JavaScript
25 lines
471 B
JavaScript
'use strict'
|
|
|
|
let Container = require('./container')
|
|
|
|
class AtRule extends Container {
|
|
constructor(defaults) {
|
|
super(defaults)
|
|
this.type = 'atrule'
|
|
}
|
|
|
|
append(...children) {
|
|
if (!this.proxyOf.nodes) this.nodes = []
|
|
return super.append(...children)
|
|
}
|
|
|
|
prepend(...children) {
|
|
if (!this.proxyOf.nodes) this.nodes = []
|
|
return super.prepend(...children)
|
|
}
|
|
}
|
|
|
|
module.exports = AtRule
|
|
AtRule.default = AtRule
|
|
|
|
Container.registerAtRule(AtRule)
|