Sha256: 1db43c61b353581844ee2b01caac6511fccda6a067f2ca83ec823c6272f88b83

Contents?: true

Size: 209 Bytes

Versions: 39

Compression:

Stored size: 209 Bytes

Contents

var nodes = require('../nodes');

/**
 * Get Math `prop`.
 *
 * @param {String} prop
 * @return {Unit}
 * @api private
 */

module.exports = function math(prop){
  return new nodes.Unit(Math[prop.string]);
};

Version data entries

39 entries across 20 versions & 2 rubygems

Version Path
ela-4.1.6 node_modules/stylus/lib/functions/math-prop.js
ela-4.1.6 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-4.1.5 node_modules/stylus/lib/functions/math-prop.js
ela-4.1.5 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-4.1.4 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-4.1.4 node_modules/stylus/lib/functions/math-prop.js
ela-4.1.3 node_modules/stylus/lib/functions/math-prop.js
ela-4.1.3 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-4.1.2 node_modules/stylus/lib/functions/math-prop.js
ela-4.1.2 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-4.1.1 node_modules/stylus/lib/functions/math-prop.js
ela-4.1.1 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-4.1.0 node_modules/stylus/lib/functions/math-prop.js
ela-4.1.0 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-4.0.0 node_modules/stylus/lib/functions/math-prop.js
ela-4.0.0 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-3.4.3 node_modules/stylus/lib/functions/math-prop.js
ela-3.4.3 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-3.4.2 node_modules/nib/node_modules/stylus/lib/functions/math-prop.js
ela-3.4.2 node_modules/stylus/lib/functions/math-prop.js