Skip to content

Instantly share code, notes, and snippets.

@michael-benin-CN
Created February 11, 2014 00:31
Show Gist options
  • Save michael-benin-CN/8927111 to your computer and use it in GitHub Desktop.
Save michael-benin-CN/8927111 to your computer and use it in GitHub Desktop.
Dynamically adding properties with a one liner - can it be done? Want to simplify.
var lessFiles = {};
lessFiles['public/css/copilot-' + version + '.css'] = 'public/less/copilot.less';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment