editor is not defined, better to use atom.project.getPath()
Merge pull request #2 from jtrinklein/editor-not-defined-in-constructor

editor is not defined, better to use atom.project.getPath()