mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
15 lines
240 B
CoffeeScript
15 lines
240 B
CoffeeScript
{View, $$} = require 'space-pen'
|
|
$ = require 'jquery'
|
|
|
|
module.exports =
|
|
class FileView extends View
|
|
@content: (file) ->
|
|
@li file.getBaseName(), class: 'file entry'
|
|
|
|
file: null
|
|
|
|
initialize: (@file) ->
|
|
|
|
getPath: ->
|
|
@file.path
|