Skip to content

Instantly share code, notes, and snippets.

@danielmcgrath
Created May 6, 2010 15:59
Show Gist options
  • Save danielmcgrath/392288 to your computer and use it in GitHub Desktop.
Save danielmcgrath/392288 to your computer and use it in GitHub Desktop.
function extract(obj, scope) { for (var i in obj) scope[i] = obj[i]; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment