 
   resources: {}
 
-  activeResource: null
-
   responder: ->
-    @activeResource or this
+    @activeResource() or this
 
   open: (url) ->
     if not @url

          break if success = resource.open url

        if success
          @resources[url] = @activeResource = resource
          atom.trigger 'project:resource:open', this, resource
          atom.trigger 'project:resource:active', this, resource
          true

  save: ->
    @activeResource?.save()

  title: ->
    _.last @url.split '/'

        return false

      # Is this resource already open?
      if resource = @resources[url]
        @setActiveResource resource
        resource.show()
        true
      else
        # Try to open all others
