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