Permalink
Browse files

Add parenteses around comprehension

  • Loading branch information...
nvh committed Oct 27, 2016
1 parent ff34779 commit 248073d989d062973414eeab0eef51341e1b1117
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Utils.coffee
View
@@ -14,7 +14,7 @@ Utils.getValue = (value) ->
Utils.getValueForKeyPath = (obj, key) ->
result = obj
return obj[key] if not "." in key
- result = result[key] for key in key.split(".")
+ result = (result[key] for key in key.split("."))
result
Utils.setValueForKeyPath = (obj, path, val) ->

0 comments on commit 248073d

Please sign in to comment.