complete redesign: use nodejs on server instead of php - documentation to be updated
This commit is contained in:
15
nodejs/node_modules/stylus/lib/functions/convert.js
generated
vendored
Normal file
15
nodejs/node_modules/stylus/lib/functions/convert.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
var utils = require('../utils');
|
||||
|
||||
/**
|
||||
* Like `unquote` but tries to convert
|
||||
* the given `str` to a Stylus node.
|
||||
*
|
||||
* @param {String} str
|
||||
* @return {Node}
|
||||
* @api public
|
||||
*/
|
||||
|
||||
module.exports = function convert(str){
|
||||
utils.assertString(str, 'str');
|
||||
return utils.parseString(str.string);
|
||||
};
|
Reference in New Issue
Block a user