mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
fix eslint error
This commit is contained in:
parent
09b8b3ec51
commit
178f1dfd0e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user