aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-04 15:33:29 -0700
committerNivesh Rajbhandari2012-05-04 15:33:29 -0700
commitad94ec51c81badeba2b0f870cad8a0eec7878ebd (patch)
tree35c52d44d2c5399ea4019582af3fb55a53ee05c8 /js
parent3ad9024bcfce76e28816daa02bac14fc8985ca62 (diff)
parent3ebed34665fa73b0ce613b400f3029ebf4476439 (diff)
downloadninja-ad94ec51c81badeba2b0f870cad8a0eec7878ebd.tar.gz
Merge branch 'refs/heads/dom-architecture-master' into Dom-Architecture
Diffstat (limited to 'js')
-rw-r--r--js/components/about-box.reel/about-box.html2
-rwxr-xr-xjs/components/checkbox.reel/checkbox.html2
-rwxr-xr-xjs/components/colorbar.reel/colorbar.html2
-rwxr-xr-xjs/components/colorwheel.reel/colorwheel.html2
-rwxr-xr-xjs/components/combobox.reel/combobox.html2
-rwxr-xr-xjs/components/gradientpicker.reel/gradientpicker.html2
-rwxr-xr-xjs/components/hottext.reel/hottext.html2
-rwxr-xr-xjs/components/hottextunit.reel/hottextunit.html2
-rwxr-xr-xjs/components/layout/bread-crumb.reel/bread-crumb.html8
-rwxr-xr-xjs/components/layout/document-bar.reel/document-bar.html10
-rwxr-xr-xjs/components/layout/document-entry.reel/document-entry.html6
-rwxr-xr-xjs/components/layout/documents-tab.reel/documents-tab.html6
-rwxr-xr-xjs/components/layout/stage-mode.reel/stage-mode.html4
-rwxr-xr-xjs/components/layout/subtool-button.reel/subtool-button.css4
-rwxr-xr-xjs/components/layout/subtool-button.reel/subtool-button.html2
-rwxr-xr-xjs/components/layout/tool-button.reel/tool-button.css4
-rwxr-xr-xjs/components/layout/tool-button.reel/tool-button.html2
-rwxr-xr-xjs/components/layout/tools-list.reel/tools-list.html10
-rwxr-xr-xjs/components/layout/tools-properties.reel/tools-properties.html36
-rwxr-xr-xjs/components/menu/menu-entry.reel/menu-entry.html10
-rwxr-xr-xjs/components/menu/menu-item.reel/menu-item.html10
-rwxr-xr-xjs/components/menu/menu.reel/menu.html6
-rwxr-xr-xjs/components/popup-manager.reel/popup-manager.html2
-rwxr-xr-xjs/components/popup.reel/popup.html2
-rwxr-xr-xjs/components/radio.reel/radio.html2
-rwxr-xr-xjs/components/slider.reel/slider.html8
-rwxr-xr-xjs/components/textfield.reel/textfield.html2
-rwxr-xr-xjs/components/tools-properties/brush-properties.reel/brush-properties.html10
-rwxr-xr-xjs/components/tools-properties/eraser-properties.reel/eraser-properties.html2
-rwxr-xr-xjs/components/tools-properties/eyedropper-properties.reel/eyedropper-properties.html2
-rwxr-xr-xjs/components/tools-properties/fill-properties.reel/fill-properties.html10
-rwxr-xr-xjs/components/tools-properties/line-properties.reel/line-properties.html2
-rwxr-xr-xjs/components/tools-properties/object3d-properties.reel/object3d-properties.html6
-rwxr-xr-xjs/components/tools-properties/oval-properties.reel/oval-properties.html4
-rwxr-xr-xjs/components/tools-properties/pan-properties.reel/pan-properties.html2
-rwxr-xr-xjs/components/tools-properties/pen-properties.reel/pen-properties.html2
-rwxr-xr-xjs/components/tools-properties/pencil-properties.reel/pencil-properties.html2
-rwxr-xr-xjs/components/tools-properties/rect-properties.reel/rect-properties.html12
-rwxr-xr-xjs/components/tools-properties/rotate-stage-properties.reel/rotate-stage-properties.html2
-rwxr-xr-xjs/components/tools-properties/selection-properties.reel/selection-properties.html4
-rwxr-xr-xjs/components/tools-properties/shape-properties.reel/shape-properties.html26
-rwxr-xr-xjs/components/tools-properties/subselection-properties.reel/subselection-properties.html2
-rwxr-xr-xjs/components/tools-properties/tag-properties.reel/tag-properties.html22
-rwxr-xr-xjs/components/tools-properties/tag-properties.reel/tag-properties.js6
-rwxr-xr-xjs/components/tools-properties/text-properties.reel/text-properties.html39
-rwxr-xr-xjs/components/tools-properties/zoom-properties.reel/zoom-properties.html6
-rw-r--r--js/components/treeview/branch.reel/branch.html8
-rw-r--r--js/components/treeview/leaf.reel/leaf.html4
-rw-r--r--js/components/treeview/ninja-branch.reel/ninja-branch.html10
-rw-r--r--js/components/treeview/ninja-leaf.reel/ninja-leaf.html4
-rw-r--r--js/components/treeview/treeview.reel/treeview.html4
-rwxr-xr-xjs/components/ui/color-chip.reel/color-chip.html12
-rwxr-xr-xjs/components/ui/file-input.reel/file-input.html6
-rwxr-xr-xjs/components/ui/input-group.reel/input-group.html6
-rwxr-xr-xjs/components/ui/property-control.reel/property-control.html8
-rwxr-xr-xjs/controllers/elements/controller-factory.js2
-rwxr-xr-xjs/controllers/elements/element-controller.js7
-rwxr-xr-xjs/controllers/elements/shapes-controller.js2
-rwxr-xr-xjs/data/pi/pi-data.js6
-rwxr-xr-xjs/io/ui/cloudpopup.reel/cloudpopup.html2
-rwxr-xr-xjs/lib/NJUtils.js112
-rwxr-xr-xjs/mediators/drag-drop-mediator.js6
-rwxr-xr-xjs/models/element-model.js75
-rwxr-xr-xjs/ninja.reel/ninja.html43
-rwxr-xr-xjs/ninja.reel/ninja.js7
-rwxr-xr-xjs/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html6
-rwxr-xr-xjs/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html8
-rwxr-xr-xjs/panels/Materials/materials-library-panel.reel/materials-library-panel.css43
-rwxr-xr-xjs/panels/Materials/materials-library-panel.reel/materials-library-panel.html14
-rwxr-xr-xjs/panels/Materials/materials-popup.reel/materials-popup.css15
-rwxr-xr-xjs/panels/Materials/materials-popup.reel/materials-popup.html26
-rwxr-xr-xjs/panels/Panel.reel/Panel.html14
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.html3
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.html4
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js2
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.html1
-rwxr-xr-xjs/panels/color/colorchippopup.reel/colorchippopup.html2
-rwxr-xr-xjs/panels/color/colorpanelbase.reel/colorpanelbase.html2
-rwxr-xr-xjs/panels/color/colorpanelpopup.reel/colorpanelpopup.html2
-rwxr-xr-xjs/panels/color/colorpopup-manager.js2
-rwxr-xr-xjs/panels/color/colortoolbar.reel/colortoolbar.html2
-rwxr-xr-xjs/panels/components-panel.reel/components-panel.html4
-rwxr-xr-xjs/panels/components-panel.reel/components-panel.js64
-rw-r--r--js/panels/presets/animations-presets.reel/animations-presets.html4
-rw-r--r--js/panels/presets/content.reel/content.html12
-rw-r--r--js/panels/presets/style-presets.reel/style-presets.html7
-rw-r--r--js/panels/presets/transitions-presets.reel/transitions-presets.html4
-rwxr-xr-xjs/panels/properties.reel/properties.html16
-rwxr-xr-xjs/panels/properties.reel/properties.js6
-rwxr-xr-xjs/panels/properties.reel/section.reel/section.html6
-rwxr-xr-xjs/panels/properties.reel/sections/custom-rows/color-select.reel/color-select.html6
-rwxr-xr-xjs/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.html6
-rwxr-xr-xjs/panels/properties.reel/sections/custom-rows/single-row.reel/single-row.html4
-rwxr-xr-xjs/panels/properties.reel/sections/custom.reel/custom.html6
-rwxr-xr-xjs/panels/properties.reel/sections/position-and-size.reel/position-and-size.html18
-rwxr-xr-xjs/panels/properties.reel/sections/three-d-view.reel/three-d-view.html30
-rwxr-xr-xjs/stage/stage.reel/stage.html14
-rwxr-xr-xjs/stage/stage.reel/stage.js11
-rw-r--r--js/tools/BrushTool.js10
-rwxr-xr-xjs/tools/EyedropperTool.js3
-rwxr-xr-xjs/tools/LineTool.js11
-rwxr-xr-xjs/tools/PenTool.js11
-rwxr-xr-xjs/tools/ShapeTool.js40
-rwxr-xr-xjs/tools/TagTool.js218
-rwxr-xr-xjs/tools/drawing-tool-base.js24
105 files changed, 588 insertions, 728 deletions
diff --git a/js/components/about-box.reel/about-box.html b/js/components/about-box.reel/about-box.html
index 1f41699e..ecdd4389 100644
--- a/js/components/about-box.reel/about-box.html
+++ b/js/components/about-box.reel/about-box.html
@@ -21,7 +21,7 @@
21 </script> 21 </script>
22</head> 22</head>
23<body> 23<body>
24<div class="mainAboutBoxContainer" id="mainAboutBoxContainer"> 24<div data-montage-id="mainAboutBoxContainer" class="mainAboutBoxContainer">
25 <div id="about_box_ninja_logo"></div> 25 <div id="about_box_ninja_logo"></div>
26 <div id="aboutBoxTextBlock" class="baseAboutBoxText"> 26 <div id="aboutBoxTextBlock" class="baseAboutBoxText">
27 <p class="mediumAboutBoxText">Version: <span id="aboutBoxVersionNumber">0.0.0.0</span></p> 27 <p class="mediumAboutBoxText">Version: <span id="aboutBoxVersionNumber">0.0.0.0</span></p>
diff --git a/js/components/checkbox.reel/checkbox.html b/js/components/checkbox.reel/checkbox.html
index a03d72fb..ded91fc2 100755
--- a/js/components/checkbox.reel/checkbox.html
+++ b/js/components/checkbox.reel/checkbox.html
@@ -18,6 +18,6 @@
18 </script> 18 </script>
19</head> 19</head>
20<body> 20<body>
21 <input id="ch_comp" class="nj-skinned" type="checkbox"> 21 <input data-montage-id="ch_comp" class="nj-skinned" type="checkbox">
22</body> 22</body>
23</html> \ No newline at end of file 23</html> \ No newline at end of file
diff --git a/js/components/colorbar.reel/colorbar.html b/js/components/colorbar.reel/colorbar.html
index c5bc186a..2e189c87 100755
--- a/js/components/colorbar.reel/colorbar.html
+++ b/js/components/colorbar.reel/colorbar.html
@@ -29,7 +29,7 @@
29 29
30 <body> 30 <body>
31 31
32 <canvas id="colorbar" class="colorbar"></canvas> 32 <canvas data-montage-id="colorbar" class="colorbar"></canvas>
33 33
34 </body> 34 </body>
35 35
diff --git a/js/components/colorwheel.reel/colorwheel.html b/js/components/colorwheel.reel/colorwheel.html
index ef955c2d..707bd637 100755
--- a/js/components/colorwheel.reel/colorwheel.html
+++ b/js/components/colorwh