Sha256: 33b932bda8f304e9838a70232673326b6c0fd5fa030df35071bf36c127042a0b

Contents?: true

Size: 471 Bytes

Versions: 27

Compression:

Stored size: 471 Bytes

Contents

'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)

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.19 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/postcss/lib/at-rule.js