From 2b8a8a14c5e8d60dce3d994590c09f1e044aea6c Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Mon, 19 Sep 2011 11:26:46 -0700 Subject: [PATCH] Updated class layout. --- docs/api.coffee | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/api.coffee b/docs/api.coffee index cd0990d3f..95c14d670 100644 --- a/docs/api.coffee +++ b/docs/api.coffee @@ -5,11 +5,15 @@ # Chrome # -# Our view hierarchy is: +# View hierarchy # -# App has many Windows -# Window has many Panes -# Window has one Document +# App: has many Windows +# Window: has many Panes, contains a Document model +# Pane: has 0 or more Panes +# +# Model hieerarcy +# +# Document: holds all the data! App = windows: [] @@ -17,12 +21,13 @@ App = class Window panes: [] + document: null activePane: null class Pane + subPanes: [] window: null - document: null + activeSubPane: null class Document window: null - pane: null