From a606fc516b19ee87530168356456116e4e6b7335 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 6 Jan 2015 17:56:56 -0800 Subject: [PATCH] :lipstick: --- src/view-registry.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/view-registry.coffee b/src/view-registry.coffee index c66d1be57..0eb2590cf 100644 --- a/src/view-registry.coffee +++ b/src/view-registry.coffee @@ -65,7 +65,7 @@ class ViewRegistry # * `modelConstructor` Constructor {Function} for your model. # * `viewConstructor` (Optional) Constructor {Function} for your view. It # should be a subclass of `HTMLElement` (that is, your view should be a - # DOM node) and have a `::setModel()` method which will be called + # DOM node) and have a `::setModel()` method which will be called # immediately after construction. If you don't supply this property, you # must supply the `createView` property with a function that never returns # `undefined`. @@ -97,12 +97,14 @@ class ViewRegistry # ## Examples # # ### Getting An Editor Element + # # ```coffee # textEditor = atom.workspace.getActiveTextEditor() # textEditorElement = atom.views.getView(textEditor) # ``` # # ### Getting A Pane Element + # # ```coffee # pane = atom.workspace.getActivePane() # paneElement = atom.views.getView(pane)