diff options
author | Jose Antonio Marquez | 2012-02-17 00:20:42 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-17 00:20:42 -0800 |
commit | 7e9c50aaa9774f1c8840e19d831ed2e7bfd9f61f (patch) | |
tree | 0a51be74f0d5b1f6c740cd1a9c79e00624a0c0af | |
parent | 9fe5d98bf469036c856e28d71ad4160d630b4af4 (diff) | |
parent | 18a42c37d080c03830c3f0a4156b81044e6309ee (diff) | |
download | ninja-7e9c50aaa9774f1c8840e19d831ed2e7bfd9f61f.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into Color
71 files changed, 1396 insertions, 2799 deletions
@@ -8,9 +8,6 @@ images/treeControl/Thumbs.db | |||
8 | .DS_Store | 8 | .DS_Store |
9 | .project | 9 | .project |
10 | 10 | ||
11 | _scss/compass_app_log.txt | ||
12 | _scss/.sass-cache | ||
13 | |||
14 | js/panels/Color/colorpanelpopup.reel/.sass-cache/2fbca323ccf38cf180e7675ba0d8d3e07adeffea/ColorPanelPopup.scssc | 11 | js/panels/Color/colorpanelpopup.reel/.sass-cache/2fbca323ccf38cf180e7675ba0d8d3e07adeffea/ColorPanelPopup.scssc |
15 | js/panels/Color/colorpanelpopup.reel/compass_app_log.txt | 12 | js/panels/Color/colorpanelpopup.reel/compass_app_log.txt |
16 | js/panels/Color/colorpanelbase.reel/compass_app_log.txt | 13 | js/panels/Color/colorpanelbase.reel/compass_app_log.txt |
@@ -21,6 +18,6 @@ js/components/gradientpicker.reel/.sass-cache/6f8390f69a31f1a976968b9c18d0824d78 | |||
21 | cloud/ | 18 | cloud/ |
22 | 19 | ||
23 | /.idea/scopes/scope_settings.xml | 20 | /.idea/scopes/scope_settings.xml |
24 | _scss/imports/scss/_Stage.scss | ||
25 | compass_app_log.txt | 21 | compass_app_log.txt |
26 | js/io/ui/cloudpopup.reel/.sass-cache/5fd824121af95f6044b06681535cf0639ffb5db3/cloudpopup.scssc \ No newline at end of file | 22 | js/io/ui/cloudpopup.reel/.sass-cache/5fd824121af95f6044b06681535cf0639ffb5db3/cloudpopup.scssc |
23 | scss/.sass-cache/ \ No newline at end of file | ||
diff --git a/README.md b/README.md new file mode 100644 index 00000000..c5ecd429 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,52 @@ | |||
1 | ## Ninja | ||
2 | |||
3 | ... | ||
4 | -------- | ||
5 | |||
6 | ###Prerequisites | ||
7 | |||
8 | To run the Ninja Application you will need the following: | ||
9 | |||
10 | - Be able to access the Motorola internal network, using the blue port or VPN | ||
11 | - The latest stable version of Chrome | ||
12 | - Ninja can be run in either a Chrome unpackaged application or packaged application (.crx). Instructions below | ||
13 | |||
14 | ###Setup and Run Ninja as an unpackaged application | ||
15 | |||
16 | If you're already familiar with using Git, GitHub, and how to configure a local web server, | ||
17 | |||
18 | 1. Download Ninja Local Cloud: | ||
19 | Win: get Ninja Local Cloud.exe from \\ninjateam.am.mot.com\users\jmayhew\Ninja Local Cloud, | ||
20 | Mac: get Ninja Local Cloud.app from smb://ninjateam.am.mot.com/users/jmayhew/Ninja Local Cloud | ||
21 | 2. Launch Ninja Local Cloud. On Mac, click Allow when asked to accept incoming network connection. | ||
22 | 3. Click Copy button to copy the Ninja Local Cloud URL. | ||
23 | 4. Launch your cloned master branch. | ||
24 | 5. You should get the Cloud Service Dialog. | ||
25 | 6. Paste in the Ninja Local Cloud URL that you copied in step 3. | ||
26 | 7. Click the TEST button. It should still show Disconnected. | ||
27 | 8. In the Ninja Local Cloud app, click on Advanced button, you should see an error that it ignores the url where you run Ninja. If you don't any text when clicking Test, there's no connection established between Ninja and Ninja Local Cloud, you probably did not click Allow the incoming connection, or check your network connection, try public network instead of DSA, disconnect from VPN, etc. | ||
28 | 9. Copy the URL in the error text, this is also the URL of where you run your Ninja build, something like http://localhost:9080 on Windows or http://yourmachinename.am.mot.com on Mac | ||
29 | 10. On Windows: | ||
30 | Click Start menu icon and type regedit | ||
31 | Browse to HKEY_CURRENT_USER/Software/Motorola Mobility/Ninja Local Cloud/Options | ||
32 | Right click and select New > String value | ||
33 | Type 'Local Ninja Origin' no quotes | ||
34 | Double click on Local Ninja Origin and paste in the URL copied in step 10 in the Value data field. | ||
35 | Close Registry Editor. | ||
36 | |||
37 | 11. On Mac: | ||
38 | Launch Finder. | ||
39 | Double click on <yourusername>/Library/Preferences/com.MotorolaMobility.Ninja-Local-Cloud.plist | ||
40 | Click on Add Child | ||
41 | Type 'Local Ninja Origin' no quotes | ||
42 | For value, paste in the URL copied in step 10. | ||
43 | Save (File > Save or Cmd S) | ||
44 | Close Property List Editor | ||
45 | 12. Quit Ninja Local Cloud | ||
46 | 13. Launch Ninja Local Cloud | ||
47 | 14. In Ninja, click Test again, you should see the green text that said "Connected to Ninja Local Cloud". | ||
48 | 15. Ninja is opened with no document. You should be able to do File > New File and select Basic HTML, give it a name and click browse to the directory. By default, files will be saved in Ninja Projects folder in user documents. As long as Ninja Local Cloud is running, you will not see the Cloud Service Dialog next time you launch. | ||
49 | |||
50 | |||
51 | ###Setup and Run Ninja as a packaged application | ||
52 | |||
diff --git a/css/ninja.css b/css/ninja.css index 824a675a..96ae6caf 100755 --- a/css/ninja.css +++ b/css/ninja.css | |||
@@ -118,9 +118,9 @@ body { position: absolute; margin: 0px; width: 100%; height: 100%; background-co | |||
118 | 118 | ||
119 | #sceneBar { height: 70px; background-color: #474747; } | 119 | #sceneBar { height: 70px; background-color: #474747; } |
120 | 120 | ||
121 | #mainContainer #rulerTop { background: url("../images/temp/ruler-top.png"); height: 15px; margin-bottom: 0px; display:none;} | 121 | #mainContainer #rulerTop { background: gray; height: 15px; margin-bottom: 0px; } |
122 | 122 | ||
123 | #rulerLeft { background: url("../images/temp/ruler-left.png"); width: 16px; display:none;} | 123 | #rulerLeft { background: gray; width: 16px; } |
124 | 124 | ||
125 | #stateBar { height: 20px; background-color: #282828; margin-bottom: 0px; } | 125 | #stateBar { height: 20px; background-color: #282828; margin-bottom: 0px; } |
126 | 126 | ||
diff --git a/js/components/tools-properties/text-properties.reel/text-properties.html b/js/components/tools-properties/text-properties.reel/text-properties.html index a7d2af10..13a88ba7 100755 --- a/js/components/tools-properties/text-properties.reel/text-properties.html +++ b/js/components/tools-properties/text-properties.reel/text-properties.html | |||
@@ -100,7 +100,8 @@ | |||
100 | "pressedClass": "active", | 100 | "pressedClass": "active", |
101 | "preventFocus": true, | 101 | "preventFocus": true, |
102 | "identifier": "btnBold", | 102 | "identifier": "btnBold", |
103 | "label": "B" | 103 | "pressedLabel": "B", |
104 | "unpressedLabel": "B" | ||
104 | }, | 105 | }, |
105 | "listeners": [ |