mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
The doc spec was failing since these classes were added with no docs and weren't marked as internal so the coverage dropped below 80%.
27 lines
772 B
CoffeeScript
27 lines
772 B
CoffeeScript
ConfigPanel = require 'config-panel'
|
|
{$$} = require 'space-pen'
|
|
$ = require 'jquery'
|
|
_ = require 'underscore'
|
|
|
|
###
|
|
# Internal #
|
|
###
|
|
|
|
module.exports =
|
|
class GeneralConfigPanel extends ConfigPanel
|
|
@content: ->
|
|
@form id: 'general-config-panel', class: 'form-horizontal', =>
|
|
@fieldset =>
|
|
@legend "General Settings"
|
|
|
|
@div class: 'control-group', =>
|
|
@div class: 'checkbox', =>
|
|
@label for: 'editor.hideGitIgnoredFiles', =>
|
|
@input id: 'editor.hideGitIgnoredFiles', type: 'checkbox'
|
|
@text 'Hide Git-Ignored Files'
|
|
|
|
@div class: 'checkbox', =>
|
|
@label for: 'core.autosave', =>
|
|
@input id: 'core.autosave', type: 'checkbox'
|
|
@text 'Auto-Save on Focus Change'
|