From dece82791f43b5e8d278aba89cf8d6119af1478f Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Mon, 9 Apr 2012 13:11:40 -0700 Subject: - Decouple code editor from stage document switching logic - cleaning up Signed-off-by: Ananya Sen --- js/components/layout/document-bar.reel/document-bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/components') diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js index 4dc39fd6..27402dff 100755 --- a/js/components/layout/document-bar.reel/document-bar.js +++ b/js/components/layout/document-bar.reel/document-bar.js @@ -100,7 +100,7 @@ exports.DocumentBar = Montage.create(Component, { if(event._event.target.id === this.currentView) return; this.currentView = event._event.target.id; - this.application.ninja.documentController.stage.stageView.switchViews(event._event.target.id);//switch between design view + this.application.ninja.documentController.stage.stageView.switchDesignDocViews(event._event.target.id);//switch between design view } }, -- cgit v1.2.3 From bcfb200482c26b2bfc0d6577b1eb0de7a19a6762 Mon Sep 17 00:00:00 2001 From: John Mayhew Date: Thu, 26 Apr 2012 16:23:59 -0700 Subject: Removing all "module" declarations and replaced with "prototype" in preparation for montage converting to the new "prototype" format fully --- js/components/about-box.reel/about-box.html | 5 +- js/components/checkbox.reel/checkbox.html | 3 +- js/components/colorbar.reel/colorbar.html | 5 +- js/components/colorwheel.reel/colorwheel.html | 5 +- js/components/combobox.reel/combobox.html | 3 +- .../gradientpicker.reel/gradientpicker.html | 5 +- js/components/hottext.reel/hottext.html | 5 +- js/components/hottextunit.reel/hottextunit.html | 5 +- .../layout/bread-crumb.reel/bread-crumb.html | 11 ++-- .../layout/document-bar.reel/document-bar.html | 8 +-- .../layout/document-entry.reel/document-entry.html | 5 +- .../layout/documents-tab.reel/documents-tab.html | 11 ++-- .../layout/stage-mode.reel/stage-mode.html | 5 +- .../layout/subtool-button.reel/subtool-button.html | 5 +- .../layout/tool-button.reel/tool-button.html | 5 +- .../layout/tools-list.reel/tools-list.html | 77 ++++++++-------------- .../tools-properties.reel/tools-properties.html | 56 ++++++---------- js/components/menu/menu-entry.reel/menu-entry.html | 14 ++-- js/components/menu/menu-item.reel/menu-item.html | 14 ++-- js/components/menu/menu.reel/menu.html | 17 ++--- .../popup-manager.reel/popup-manager.html | 5 +- js/components/popup-manager.reel/popup-manager.js | 4 +- js/components/popup.reel/popup.html | 5 +- js/components/radio.reel/radio.html | 3 +- js/components/slider.reel/slider.html | 5 +- js/components/textfield.reel/textfield.html | 3 +- .../brush-properties.reel/brush-properties.html | 17 ++--- .../eraser-properties.reel/eraser-properties.html | 5 +- .../eyedropper-properties.html | 5 +- .../fill-properties.reel/fill-properties.html | 8 +-- .../ink-bottle-properties.html | 14 ++-- .../line-properties.reel/line-properties.html | 5 +- .../object3d-properties.html | 5 +- .../oval-properties.reel/oval-properties.html | 8 +-- .../pan-properties.reel/pan-properties.html | 5 +- .../pen-properties.reel/pen-properties.html | 8 +-- .../pencil-properties.reel/pencil-properties.html | 5 +- .../rect-properties.reel/rect-properties.html | 17 ++--- .../rotate-stage-properties.html | 5 +- .../selection-properties.html | 3 +- .../shape-properties.reel/shape-properties.html | 27 +++----- .../subselection-properties.html | 5 +- .../tag-properties.reel/tag-properties.html | 3 +- .../text-properties.reel/text-properties.html | 56 ++++++---------- .../zoom-properties.reel/zoom-properties.html | 5 +- js/components/treeview/branch.reel/branch.html | 23 +++---- js/components/treeview/leaf.reel/leaf.html | 8 +-- .../treeview/ninja-branch.reel/ninja-branch.html | 23 +++---- .../treeview/ninja-leaf.reel/ninja-leaf.html | 8 +-- js/components/treeview/treeview.reel/treeview.html | 17 ++--- js/components/ui/color-chip.reel/color-chip.html | 5 +- js/components/ui/file-input.reel/file-input.html | 5 +- .../ui/icon-list-basic/icon.reel/icon.html | 5 +- .../icon-list-basic/iconsList.reel/iconsList.html | 11 ++-- js/components/ui/input-group.reel/input-group.html | 14 ++-- .../ui/property-control.reel/property-control.html | 8 +-- js/components/ui/tree-basic/tree.reel/tree.html | 11 ++-- .../ui/tree-basic/treeItem.reel/treeItem.html | 5 +- 58 files changed, 230 insertions(+), 408 deletions(-) (limited to 'js/components') diff --git a/js/components/about-box.reel/about-box.html b/js/components/about-box.reel/about-box.html index 7142d605..1f41699e 100644 --- a/js/components/about-box.reel/about-box.html +++ b/js/components/about-box.reel/about-box.html @@ -1,4 +1,4 @@ - +