there isn't always an activeResource

This commit is contained in:
Chris Wanstrath
2011-11-12 02:44:25 -08:00
parent 66625396fd
commit 62828aff74

View File

@@ -23,7 +23,7 @@ class Project extends Resource
activeResource: null
responder: ->
@activeResource
@activeResource or this
open: (url) ->
if not @url