Sha256: ff20ca89447d5df484320a5946ec7a8e66bf0746b6ca4c2d4a2960656a4c2ddc
Contents?: true
Size: 629 Bytes
Versions: 7
Compression:
Stored size: 629 Bytes
Contents
/*! * Stylus - Extend * Copyright(c) 2010 LearnBoost <dev@learnboost.com> * MIT Licensed */ /** * Module dependencies. */ var Node = require('./node'); /** * Initialize a new `Extend` with the given `selector`. * * @param {Selector} selector * @api public */ var Extend = module.exports = function Extend(selector){ Node.call(this); this.selector = selector; }; /** * Inherit from `Node.prototype`. */ Extend.prototype.__proto__ = Node.prototype; /** * Return `@extend selector`. * * @return {String} * @api public */ Extend.prototype.toString = function(){ return '@extend ' + this.selector; };
Version data entries
7 entries across 7 versions & 1 rubygems