Skip to content

Instantly share code, notes, and snippets.

@satyr
Forked from cj/update.coffee
Created December 30, 2010 00:44
Show Gist options
  • Save satyr/759288 to your computer and use it in GitHub Desktop.
Save satyr/759288 to your computer and use it in GitHub Desktop.
name= if previous_keys.length > 0
then "#{main_key}[#{_.implode('][', previous_keys)}][#{key}]"
else "#{main_key}[#{key}]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment