📝 Update Project::getRepositories() example

This commit is contained in:
Machisté N. Quintana 2015-06-08 10:59:34 -04:00
parent 2a71c4edfa
commit 0db3b70177

View File

@ -128,8 +128,8 @@ class Project extends Model
# Prefer the following, which evaluates to a {Promise} that resolves to an
# {Array} of {Repository} objects:
# ```
# Promise.all(project.getDirectories().map(
# project.repositoryForDirectory.bind(project)))
# Promise.all(atom.project.getDirectories().map(
# atom.project.repositoryForDirectory.bind(atom.project)))
# ```
getRepositories: -> @repositories