Permalink
Browse files

Fix stupid error introduced when fixing linter 😩

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

0 comments on commit 3fcd7c7

Please sign in to comment.