lib/thematic.js
function(opts) {
    var opts = opts || {};
    this._template = !!(opts.hasOwnProperty('template') ? opts.template : this.template);
    this._treeRemoval = !!(opts.hasOwnProperty('treeRemoval') ? opts.treeRemoval : this.treeRemoval);
    this._varsRemoval = !!(opts.hasOwnProperty('varsRemoval') ? opts.varsRemoval : this.varsRemoval);
    this._parseNode(this.ast);
    return this;
  }
function(opts) {
    var opts = opts || {};
    this._template = !!(opts.hasOwnProperty('template') ? opts.template : this.template);
    this._treeRemoval = !!(opts.hasOwnProperty('treeRemoval') ? opts.treeRemoval : this.treeRemoval);
    this._varsRemoval = !!(opts.hasOwnProperty('varsRemoval') ? opts.varsRemoval : this.varsRemoval);
    this._parseNode(this.ast);
    return this;
  }
function ( opts ) { var opts = opts || { } ; this . _template = ! ! ( opts . hasOwnProperty ( 'template' ) ? opts . template : this . template ) ; this . _treeRemoval = ! ! ( opts . hasOwnProperty ( 'treeRemoval' ) ? opts . treeRemoval : this . treeRemoval ) ; this . _varsRemoval = ! ! ( opts . hasOwnProperty ( 'varsRemoval' ) ? opts . varsRemoval : this . varsRemoval ) ; this . _parseNode ( this . ast ) ; return this ; }
Parses the Thematic AST instance.
All non-themed rules and declarations will be eliminated by default.
@param {Object} options for parsing:
- disableTreeRemoval: true to prevent destructive tree pruning.
- disableVarsRemoval: true to prevent destructive variables removal.
- template: true for template parsing.
@returns {SassThematic} self reference.
Parses the Thematic AST instance . All non - themed rules and declarations will be eliminated by default .