Skip to content

Instantly share code, notes, and snippets.

@joshtombs
Created July 25, 2014 18:15
Show Gist options
  • Save joshtombs/87a21adfbc78ed302774 to your computer and use it in GitHub Desktop.
Save joshtombs/87a21adfbc78ed302774 to your computer and use it in GitHub Desktop.
getSpecifications = (path, options) ->
obj = {}
fs.readFile(path,
'utf8',
(err, data)->
throw err if(err)
obj = JSON.parse(data)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment