FolderController = require './folder'
class ButtonController extends FolderController
	className: 'browser-entry browser-folder'
	events:'click':'click'

	constructor: ->
		super
		@el.addClass className if (className = @item.className)?

	update: ->
		@el.attr 'data-count', 0
	
	click: ->
		@item.trigger 'select'

module.exports = ButtonController