complete redesign: use nodejs on server instead of php - documentation to be updated
This commit is contained in:
13
nodejs/node_modules/stylus/lib/functions/math-prop.js
generated
vendored
Normal file
13
nodejs/node_modules/stylus/lib/functions/math-prop.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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]);
|
||||
};
|
Reference in New Issue
Block a user