fix eslint error

This commit is contained in:
maria 2015-11-29 17:36:20 +02:00
parent 09b8b3ec51
commit 178f1dfd0e
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ function handleScopeAttribute(node, context, data) {
data.innerScope.outerMapping = _.zipObject(context.boundParams, context.boundParams);
_(node.attribs[scopeAttr]).split(';').invoke('trim').compact().forEach( function (scopePart) {
_(node.attribs[scopeAttr]).split(';').invoke('trim').compact().forEach(function (scopePart) {
var scopeSubParts = _(scopePart).split(' as ').invoke('trim').value();
if (scopeSubParts.length < 2) {
throw RTCodeError.buildFormat(context, node, "invalid scope part '%s'", scopePart);