Parenthesize assignment in if.
This commit is contained in:
parent
261dbc59a0
commit
371b8cf7de
@ -35,7 +35,7 @@ Embedding =
|
||||
|
||||
services: (link) ->
|
||||
{href} = link
|
||||
for type in Embedding.ordered_types when match = type.regExp.exec href
|
||||
for type in Embedding.ordered_types when (match = type.regExp.exec href)
|
||||
return {key: type.key, uid: match[1], options: match[2], link}
|
||||
return
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user