mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
💄
This commit is contained in:
parent
3cbd52895b
commit
01d9598984
@ -1,13 +1 @@
|
||||
$ = require 'jquery'
|
||||
|
||||
$ ->
|
||||
dir = OSX.NSFileManager.defaultManager.currentDirectoryPath
|
||||
$('#cwd').text(dir)
|
||||
|
||||
files = Dir.list(dir)
|
||||
files = _.map files, (file) ->
|
||||
listItems = _.map files, (file) ->
|
||||
file = file.replace(dir, "")
|
||||
"<li>#{file}</li>"
|
||||
|
||||
$('#files').append(listItems.join('\n'))
|
||||
exports.Project = require('project/project').init()
|
||||
|
Loading…
Reference in New Issue
Block a user