Add atom prefix to project references

This commit is contained in:
Kevin Sawicki
2013-11-20 15:02:22 -08:00
parent f9498732a5
commit 6852720408
5 changed files with 12 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ class TokenizedBuffer
@state = optionsOrState
# TODO: This needs to be made async, but should wait until the new Telepath changes land
@buffer = project.bufferForPathSync(optionsOrState.get('bufferPath'))
@buffer = atom.project.bufferForPathSync(optionsOrState.get('bufferPath'))
else
{ @buffer, tabLength } = optionsOrState
@state = atom.site.createDocument