Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
387 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var utils = require('../utils');
|
---|
| 2 |
|
---|
| 3 | /**
|
---|
| 4 | * Push the given args to `expr`.
|
---|
| 5 | *
|
---|
| 6 | * @param {Expression} expr
|
---|
| 7 | * @param {Node} ...
|
---|
| 8 | * @return {Unit}
|
---|
| 9 | * @api public
|
---|
| 10 | */
|
---|
| 11 |
|
---|
| 12 | (module.exports = function(expr){
|
---|
| 13 | expr = utils.unwrap(expr);
|
---|
| 14 | for (var i = 1, len = arguments.length; i < len; ++i) {
|
---|
| 15 | expr.nodes.push(utils.unwrap(arguments[i]).clone());
|
---|
| 16 | }
|
---|
| 17 | return expr.nodes.length;
|
---|
| 18 | }).raw = true;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.