aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/code-editor/codemirror-ninja/lib/ninja-simple-hint.js86
-rw-r--r--js/code-editor/codemirror-ninja/theme/lesser-dark-ninja.css54
-rw-r--r--js/code-editor/codemirror-ninja/theme/rubyblue-ninja.css30
-rw-r--r--js/code-editor/codemirror-ninja/theme/xq-dark-ninja.css54
-rw-r--r--js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.css112
-rw-r--r--js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html87
-rw-r--r--js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js79
-rw-r--r--js/components/about-box.reel/about-box.html7
-rwxr-xr-xjs/components/checkbox.reel/checkbox.html5
-rwxr-xr-xjs/components/colorbar.reel/colorbar.html7
-rwxr-xr-xjs/components/colorwheel.reel/colorwheel.html7
-rwxr-xr-xjs/components/combobox.reel/combobox.html5
-rwxr-xr-xjs/components/gradientpicker.reel/gradientpicker.html7
-rwxr-xr-xjs/components/hottext.reel/hottext.html7
-rwxr-xr-xjs/components/hottextunit.reel/hottextunit.html7
-rwxr-xr-xjs/components/layout/bread-crumb.reel/bread-crumb.html19
-rwxr-xr-xjs/components/layout/bread-crumb.reel/bread-crumb.js5
-rwxr-xr-xjs/components/layout/document-bar.reel/document-bar.html18
-rwxr-xr-xjs/components/layout/document-bar.reel/document-bar.js2
-rwxr-xr-xjs/components/layout/document-entry.reel/document-entry.html11
-rwxr-xr-xjs/components/layout/documents-tab.reel/documents-tab.html17
-rwxr-xr-xjs/components/layout/stage-mode.reel/stage-mode.html9
-rwxr-xr-xjs/components/layout/subtool-button.reel/subtool-button.css4
-rwxr-xr-xjs/components/layout/subtool-button.reel/subtool-button.html7
-rwxr-xr-xjs/components/layout/tool-button.reel/tool-button.css4
-rwxr-xr-xjs/components/layout/tool-button.reel/tool-button.html7
-rwxr-xr-xjs/components/layout/tools-list.reel/tools-list.html87
-rwxr-xr-xjs/components/layout/tools-properties.reel/tools-properties.html92
-rwxr-xr-xjs/components/menu/menu-entry.reel/menu-entry.html24
-rwxr-xr-xjs/components/menu/menu-item.reel/menu-item.html24
-rwxr-xr-xjs/components/menu/menu.reel/menu.html23
-rwxr-xr-xjs/components/popup-manager.reel/popup-manager.html7
-rwxr-xr-xjs/components/popup-manager.reel/popup-manager.js4
-rwxr-xr-xjs/components/popup.reel/popup.html7
-rwxr-xr-xjs/components/radio.reel/radio.html5
-rwxr-xr-xjs/components/slider.reel/slider.html13
-rwxr-xr-xjs/components/textfield.reel/textfield.html5
-rwxr-xr-xjs/components/tools-properties/brush-properties.reel/brush-properties.html27
-rwxr-xr-xjs/components/tools-properties/eraser-properties.reel/eraser-properties.html7
-rwxr-xr-xjs/components/tools-properties/eyedropper-properties.reel/eyedropper-properties.html7
-rwxr-xr-xjs/components/tools-properties/fill-properties.reel/fill-properties.html18
-rwxr-xr-xjs/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.html14
-rwxr-xr-xjs/components/tools-properties/line-properties.reel/line-properties.html7
-rwxr-xr-xjs/components/tools-properties/object3d-properties.reel/object3d-properties.html11
-rwxr-xr-xjs/components/tools-properties/oval-properties.reel/oval-properties.html12
-rwxr-xr-xjs/components/tools-properties/pan-properties.reel/pan-properties.html7
-rwxr-xr-xjs/components/tools-properties/pen-properties.reel/pen-properties.html10
-rwxr-xr-xjs/components/tools-properties/pencil-properties.reel/pencil-properties.html7
-rwxr-xr-xjs/components/tools-properties/rect-properties.reel/rect-properties.html29
-rwxr-xr-xjs/components/tools-properties/rotate-stage-properties.reel/rotate-stage-properties.html7
-rwxr-xr-xjs/components/tools-properties/selection-properties.reel/selection-properties.html7
-rwxr-xr-xjs/components/tools-properties/shape-properties.reel/shape-properties.html53
-rwxr-xr-xjs/components/tools-properties/subselection-properties.reel/subselection-properties.html7
-rwxr-xr-xjs/components/tools-properties/tag-properties.reel/tag-properties.html25
-rwxr-xr-xjs/components/tools-properties/tag-properties.reel/tag-properties.js6
-rwxr-xr-xjs/components/tools-properties/text-properties.reel/text-properties.html95
-rwxr-xr-xjs/components/tools-properties/zoom-properties.reel/zoom-properties.html11
-rw-r--r--js/components/treeview/branch.reel/branch.html31
-rw-r--r--js/components/treeview/leaf.reel/leaf.html12
-rw-r--r--js/components/treeview/ninja-branch.reel/ninja-branch.html33
-rw-r--r--js/components/treeview/ninja-leaf.reel/ninja-leaf.html12
-rw-r--r--js/components/treeview/treeview.reel/treeview.html21
-rwxr-xr-xjs/components/ui/color-chip.reel/color-chip.html17
-rwxr-xr-xjs/components/ui/file-input.reel/file-input.html11
-rwxr-xr-xjs/components/ui/icon-list-basic/icon.reel/icon.html11
-rwxr-xr-xjs/components/ui/icon-list-basic/iconsList.reel/iconsList.html17
-rwxr-xr-xjs/components/ui/input-group.reel/input-group.html20
-rwxr-xr-xjs/components/ui/property-control.reel/property-control.html16
-rwxr-xr-xjs/components/ui/tree-basic/tree.reel/tree.html17
-rwxr-xr-xjs/components/ui/tree-basic/treeItem.reel/treeItem.html13
-rw-r--r--js/controllers/code-editor-controller.js258
-rwxr-xr-xjs/controllers/document-controller.js9
-rwxr-xr-xjs/controllers/elements/body-controller.js95
-rwxr-xr-xjs/controllers/elements/controller-factory.js7
-rwxr-xr-xjs/controllers/elements/element-controller.js16
-rwxr-xr-xjs/controllers/elements/shapes-controller.js2
-rwxr-xr-xjs/controllers/styles-controller.js6
-rw-r--r--js/controllers/tree-controller.js185
-rwxr-xr-xjs/data/pi/pi-data.js20
-rwxr-xr-xjs/document/document-html.js46
-rwxr-xr-xjs/document/html-document.js28
-rwxr-xr-xjs/document/models/base.js8
-rwxr-xr-xjs/document/templates/montage-html/index.html3
-rwxr-xr-xjs/document/templates/montage-html/package.json3
-rwxr-xr-xjs/document/templates/montage-web/default_html.css11
-rwxr-xr-xjs/document/templates/montage-web/index.html15
-rwxr-xr-xjs/helper-classes/3D/draw-utils.js61
-rwxr-xr-xjs/helper-classes/3D/snap-manager.js295
-rwxr-xr-xjs/helper-classes/3D/view-utils.js80
-rw-r--r--js/io/system/ninjalibrary.js28
-rw-r--r--js/io/system/ninjalibrary.json4
-rw-r--r--js/io/templates/descriptor.json9
-rw-r--r--js/io/templates/files/xml.txt1
-rwxr-xr-xjs/io/ui/cloudpopup.reel/cloudpopup.html7
-rwxr-xr-xjs/io/ui/file-picker/file-input-field.reel/file-input-field.html11
-rwxr-xr-xjs/io/ui/file-picker/picker-navigator.reel/picker-navigator.html39
-rwxr-xr-xjs/io/ui/new-file-dialog/new-file-location.reel/new-file-location.html24
-rwxr-xr-xjs/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.html22
-rw-r--r--js/io/ui/save-as-dialog.reel/save-as-dialog.html20
-rwxr-xr-xjs/lib/NJUtils.js122
-rwxr-xr-xjs/lib/drawing/world.js17
-rwxr-xr-xjs/lib/geom/brush-stroke.js52
-rwxr-xr-xjs/lib/geom/circle.js1388
-rwxr-xr-xjs/lib/geom/geom-obj.js789
-rwxr-xr-xjs/lib/geom/line.js914
-rwxr-xr-xjs/lib/geom/rectangle.js1449
-rwxr-xr-xjs/lib/geom/sub-path.js2
-rwxr-xr-xjs/mediators/drag-drop-mediator.js6
-rwxr-xr-xjs/mediators/element-mediator.js28
-rwxr-xr-xjs/mediators/keyboard-mediator.js2
-rwxr-xr-xjs/models/element-model.js80
-rwxr-xr-xjs/models/properties-3d.js3
-rwxr-xr-xjs/ninja.reel/ninja.html178
-rwxr-xr-xjs/ninja.reel/ninja.js7
-rwxr-xr-xjs/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html17
-rwxr-xr-xjs/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html13
-rwxr-xr-xjs/panels/Materials/materials-library-panel.reel/materials-library-panel.css43