create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
26 lines (19 loc) • 474 B
JavaScript
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)