(node, vars)
| 423 | } |
| 424 | |
| 425 | function getVars(node, vars) { |
| 426 | var xvars = copy(vars || {}); |
| 427 | var scope = nearestScope(node); |
| 428 | if (scope) { |
| 429 | scope.forEachAvailable(function (binding, name) { |
| 430 | if (binding.hasOwnProperty('value')) xvars[name] = binding.value; |
| 431 | }); |
| 432 | } |
| 433 | return xvars; |
| 434 | } |
no test coverage detected
searching dependent graphs…