You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
385 B
18 lines
385 B
var utils = require('../utils'); |
|
|
|
/** |
|
* Unshift the given args to `expr`. |
|
* |
|
* @param {Expression} expr |
|
* @param {Node} ... |
|
* @return {Unit} |
|
* @api public |
|
*/ |
|
|
|
(module.exports = function(expr){ |
|
expr = utils.unwrap(expr); |
|
for (var i = 1, len = arguments.length; i < len; ++i) { |
|
expr.nodes.unshift(utils.unwrap(arguments[i])); |
|
} |
|
return expr.nodes.length; |
|
}).raw = true;
|
|
|