mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Fix docs
This commit is contained in:
@@ -58,14 +58,14 @@ class ThemeManager
|
||||
# Essential: Invoke `callback` when a stylesheet has been added to the dom.
|
||||
#
|
||||
# * `callback` {Function}
|
||||
# * `stylesheet` {HTMLElement} the style node
|
||||
# * `stylesheet` {StyleSheet} the style node
|
||||
onDidAddStylesheet: (callback) ->
|
||||
@emitter.on 'did-add-stylesheet', callback
|
||||
|
||||
# Essential: Invoke `callback` when a stylesheet has been removed from the dom.
|
||||
#
|
||||
# * `callback` {Function}
|
||||
# * `stylesheet` {HTMLElement} the style node
|
||||
# * `stylesheet` {StyleSheet} the style node
|
||||
onDidRemoveStylesheet: (callback) ->
|
||||
@emitter.on 'did-remove-stylesheet', callback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user