From 85e87723b038149c0683f0eabf271cda979c2fc2 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 5 Mar 2015 12:45:50 -0800 Subject: [PATCH] Mark Project::onDidChangePaths public --- src/project.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/project.coffee b/src/project.coffee index 8958b6d43..e0d4bfedd 100644 --- a/src/project.coffee +++ b/src/project.coffee @@ -109,6 +109,12 @@ class Project extends Model Section: Event Subscription ### + # Public: Invoke the given callback when the project paths change. + # + # * `callback` {Function} to be called after the project paths change. + # * `projectPaths` An {Array} of {String} project paths. + # + # Returns a {Disposable} on which `.dispose()` can be called to unsubscribe. onDidChangePaths: (callback) -> @emitter.on 'did-change-paths', callback