Skip to content
Myr

Added docs for app.{disabled,enabled}()

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 749136b · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:docs/guide.md+6 added
934 unmodified lines
935 app.enable('some arbitrary setting');936 app.set('some arbitrary setting');937 // => true938939 app.enabled('some arbitrary setting');940 // => true941942### app.disable(name)943944Disable the given setting _name_:945946 app.disable('some setting');947 app.set('some setting');948 // => false949 950 app.disabled('some setting');951 // => false952953### app.configure(env|function[, function])954955Define a callback function for the given _env_ (or all environments) with callback _function_:
137 unmodified lines