This commit is contained in:
Ben Ogle
2014-09-09 15:43:12 -07:00
parent 5ba5215f5d
commit 10ceb34426

View File

@@ -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