/
githubmirror
/
atom
Обзор
Документация
Войти
/
githubmirror
/
atom
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
dot-atom/init.coffee
11 строк
386 B
Ben Ogle
Add more relevant (but contrived) example in init.coffee.
07 ноя 2014, 21:02
07 ноя 2014, 21:02
ef129f9
Код
Авторство
О чём код?
# Your init script # # Atom will evaluate this file each time a new window is opened. It is run # after packages are loaded/activated and after the previous editor state # has been restored. # # An example hack to log to the console when each text editor is saved. # # atom.workspace.observeTextEditors (editor) -> # editor.onDidSave -> # console.log "Saved! #{editor.getPath()}"