From 54ef21b353b605d7093209dabea7ce3842e5247a Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Thu, 22 Sep 2011 17:29:27 -0700 Subject: [PATCH] we should have a 10 minute talk about this again. --- docs/api.coffee | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/api.coffee b/docs/api.coffee index 95c14d670..3154fd01f 100644 --- a/docs/api.coffee +++ b/docs/api.coffee @@ -8,7 +8,8 @@ # View hierarchy # # App: has many Windows -# Window: has many Panes, contains a Document model +# Window: has many Plugins, contains a Document model +# Plugin: could have a Pane, or be headless # Pane: has 0 or more Panes # # Model hieerarcy @@ -20,14 +21,18 @@ App = activeWindow: null class Window - panes: [] + plugins: [] document: null activePane: null class Pane - subPanes: [] + panes: [] window: null activeSubPane: null class Document window: null + +class Plugin + window: null +