Merge branch 'snippets' into dev

Conflicts:
	src/app/package.coffee
	src/packages/snippets/src/snippets.coffee
This commit is contained in:
Nathan Sobo
2013-01-09 13:10:11 -07:00
17 changed files with 324 additions and 237 deletions

View File

@@ -184,3 +184,11 @@ module.exports =
CoffeeScript.eval(contents, bare: true)
else
JSON.parse(contents)
readPlist: (path) ->
plist = require 'plist'
object = null
plist.parseString @read(path), (e, data) ->
throw new Error(e) if e
object = data[0]
object