Skip to content

Commit c490f14

Browse files
committed
deploy: 606b7d0
1 parent cd0bc76 commit c490f14

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+4444
-908
lines changed

appConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ window.AppConfig = {
2626
"app_notification_url": "assets/notifications/dev/",
2727
"app_update_url": "https://updates.phcode.io/tauri/update-latest-experimental-build.json",
2828
"linting.enabled_by_default": true,
29-
"build_timestamp": "2024-10-30T03:08:31.808Z",
29+
"build_timestamp": "2024-11-03T03:11:21.256Z",
3030
"googleAnalyticsID": "G-P4HJFPDB76",
3131
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
3232
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -38,7 +38,7 @@ window.AppConfig = {
3838
"bugsnagEnv": "development"
3939
},
4040
"name": "Phoenix Code",
41-
"version": "3.10.0-20649",
41+
"version": "3.10.0-20652",
4242
"apiVersion": "3.10.0",
4343
"homepage": "https://core.ai",
4444
"issues": {

assets/default-project/en.zip

0 Bytes
Binary file not shown.

assets/sample-projects/HTML5.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

assets/sample-projects/explore.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

brackets-min.js

Lines changed: 543 additions & 101 deletions
Large diffs are not rendered by default.

cacheManifest.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"appConfig.js": "2a3f3409e4006c4745db8e28a6b0fc785a98576287ebfcc5727782c2efe4c29f",
3-
"assets/default-project/en.zip": "e755fc83238b720b92c2660a9239b6eb6814e7d1bc3787e0e4fb3320d2d80fc1",
2+
"appConfig.js": "f5065ef5aa8925d91b0db1c2e7063f1c7103590e20dd4b3d67fdcfecb6395dc8",
3+
"assets/default-project/en.zip": "d5ec90128e8ca01858fb3230039a7fc5a2a975b6aa5b7b4acf595c4e2aecc0d8",
44
"assets/default-project/en/images/cloud1.svg": "527399dadfa3357c3ee1a63d6c1c7dda81ecebb832f7383db26f1aaeaf722a8d",
55
"assets/default-project/en/images/cloud2.svg": "8127c63c0987bc674e2d25f7d24ead017853326c1e43d07706fec46091904418",
66
"assets/default-project/en/images/cloud3.svg": "15de53aa41dea3b0f685292814563f97213a9736c3cec2f8e17b5d9d45b3ae3d",
@@ -125,7 +125,7 @@
125125
"assets/pwa/32x32.png": "4f8f75bfcdb6efbbed1732f49edab4e292274cdeb1841e285ccc8194f4c9d8ac",
126126
"assets/pwa/phoenix.png": "d292bf76d6d61fdece2f97fb4cd71b8b0060d1058e9c1d02c94bfb20da8b7f0d",
127127
"assets/pwa/Square284x284Logo.png": "9887c2967039b4fae1214817925f1fb4f9227cba12d37612457c1c8ee1110c67",
128-
"assets/sample-projects/bootstrap-blog.zip": "4390751998d898c429a3dbc0d7ee5bf5e302a007551ea5a40213d038cfc8396c",
128+
"assets/sample-projects/bootstrap-blog.zip": "1edc7e31e412e994fe3e8dfa8a65f1ce0efdfd802034cb395df29e2812bd7f65",
129129
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo-white.svg": "203d56e7e5e15d8203e596d4a711cec986f6380064591de21850f4563fb840bf",
130130
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo.svg": "df11d37a123e36a768f2a6064973c4c6ab17d1e3c6501c8bf434ca5c0134c9a2",
131131
"assets/sample-projects/bootstrap-blog/assets/dist/css/bootstrap.min.css": "fb1763b59f9f5764294b5af9fa5250835ae608282fe6f2f2213a5952aacf1fbf",
@@ -135,7 +135,7 @@
135135
"assets/sample-projects/bootstrap-blog/blog.rtl.css": "33f49d02bbcb2e78f019b7582408fad2b5a76a2ecf79fe09d5b3c08c6ee3872b",
136136
"assets/sample-projects/bootstrap-blog/index-rtl.html": "c582278884060098ff51b9d350b0739e1a0396debdc76772c62b6ec375b6efcb",
137137
"assets/sample-projects/bootstrap-blog/index.html": "f4716c2affa299a27ab6f8c74c22fe67564f1b1d36ff2f0b322672bf0479d739",
138-
"assets/sample-projects/dashboard.zip": "d981118cea54158b30c4cca8d52d443b53f318334f1b41847da527d011e01715",
138+
"assets/sample-projects/dashboard.zip": "a2618b88bb45d748cf696b3678291741e5aa0f71dd531fc54375ebc94932b140",
139139
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo-white.svg": "203d56e7e5e15d8203e596d4a711cec986f6380064591de21850f4563fb840bf",
140140
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo.svg": "df11d37a123e36a768f2a6064973c4c6ab17d1e3c6501c8bf434ca5c0134c9a2",
141141
"assets/sample-projects/dashboard/assets/dist/css/bootstrap.min.css": "fb1763b59f9f5764294b5af9fa5250835ae608282fe6f2f2213a5952aacf1fbf",
@@ -147,7 +147,7 @@
147147
"assets/sample-projects/dashboard/index.html": "1fb0c934f816d728cad85e180f78369679dc9edb1eca2d5c625b9360e6264235",
148148
"assets/sample-projects/dashboard/signin.css": "083bef710a6170a5112ce257c2ecf8580ca97ce19136d770f10460e5b85862de",
149149
"assets/sample-projects/dashboard/signin.html": "8c602e656631aeee624673397c0dc00c339498914ed930ab177478c4662a8d26",
150-
"assets/sample-projects/explore.zip": "a51da87b2d144d4d5a27732bd6911f114676b552c249177c05b3e984d027bd3c",
150+
"assets/sample-projects/explore.zip": "998caa634b35d527df02b2926392b2a2d76c866d7599bddd429bb1a86210cdcb",
151151
"assets/sample-projects/explore/A-tribute-page.html": "bd510c60f444058b7fcb71d83841f32b1cb5193c1a39421d7739bd6af9fef248",
152152
"assets/sample-projects/explore/adjustable-fireworks.html": "11e69bb2dd8708ed8fbf1acc62b0aaaf88c7ffec859ee958dc1ae51cd53ddac8",
153153
"assets/sample-projects/explore/ant_colony.html": "bc9435ed1b9868f2fbc7212d526f7532c533a5fdf45da988fa5e575bc5f363b7",
@@ -237,7 +237,7 @@
237237
"assets/sample-projects/explore/watermelon-pixel.html": "765a3fbffb5db97910512fbabaa7c55c0b52dc8eedfcc630811be39d0af98663",
238238
"assets/sample-projects/explore/webmine.html": "6b808f52812dc03db28483411500c04daf8ee0226f535c600a36999d6b7837c0",
239239
"assets/sample-projects/explore/whack-a-mole.html": "25be94a3640553b4801f80edd49998bae3a360988e8a26ff3bdfdc2a76b77191",
240-
"assets/sample-projects/home-pages.zip": "7dfcf9693a61e600f06eb1dbb0357e8c876e2ed16c8723ef386e6ef54e0e512f",
240+
"assets/sample-projects/home-pages.zip": "5fadf8470153a4d000e16c475bc1a7cfe43a051b1ec146eeae68af33ebf82dac",
241241
"assets/sample-projects/home-pages/album/index.html": "e29a1e96644bc17bab1a7e3724e822d65a479e10df182725ee1afa916efbfdc1",
242242
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo-white.svg": "203d56e7e5e15d8203e596d4a711cec986f6380064591de21850f4563fb840bf",
243243
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo.svg": "df11d37a123e36a768f2a6064973c4c6ab17d1e3c6501c8bf434ca5c0134c9a2",
@@ -249,28 +249,28 @@
249249
"assets/sample-projects/home-pages/carousel/index.html": "235d650043a09f2954f24e4659f64d99ef3988858567fb2221fb1cf34df057e6",
250250
"assets/sample-projects/home-pages/cover/cover.css": "2fbb596077c570cad7ee9e98fb88f5665e0ecfc11e7085c3e04639ad03f7bc10",
251251
"assets/sample-projects/home-pages/cover/index.html": "759214701ff759432711b3421d80aca692c7a2b4c978c516a0bcd0c81a43f381",
252-
"assets/sample-projects/HTML5.zip": "e4e85118d13e0a01e103d53449becb732e03d55ac4d315d627afe0cec2e1be27",
252+
"assets/sample-projects/HTML5.zip": "47368f1d7c777463e2fa28567f22be3b0328010174dbb88dc8c60b2215b99b03",
253253
"assets/sample-projects/HTML5/index.html": "2dc94c7d3e33aeeb44ec4f75bc7df86a5fd19f3121f2fd3638636fbf7c476c6a",
254254
"assets/sample-projects/HTML5/script.js": "c49e4b01cded4defbc21f5d5d0102719ce4cccbe1b9cb19f9232c5a05df658da",
255255
"assets/sample-projects/HTML5/styles.css": "744b85a9c31affbb00976694c4b9c9149b31e575ed9efdec386231d062ae93f2",
256256
"assets/sample-projects/new-project-list.json": "be1c907279163610779b000aa9ea6e4b035e07429203f16445a914c7045f2d64",
257257
"assets/sample-projects/zips/bootstrap.zip": "6f10407c00ce5d598e77f890528743dc645bc28014335483992b481e63fd7b97",
258258
"base-config/keyboard.json": "f3380c609a293a95644965958286b31863d733293824d56b7087fa0ce4c2d618",
259259
"base-config/readme-keyboard.md": "27e98128176dbd060e93b1f321a4ddcd609571b7b8eb8c9112588f4767d08a03",
260-
"brackets-min.js": "5259cb2a70eafab687bc40be36383a8ca26b13f64b4ce174e9d11be46572926a",
260+
"brackets-min.js": "a8ada85ddbd7abf26d567bb7d6525c29f28f7711a78ae588600464166850c3a3",
261261
"brackets.config.dist.json": "8faa5c0a82bb4f49784e93d1225dbd5e1fd8ec6ab07b95f5f874c7c7bd7bb234",
262262
"brackets.config.staging.json": "c0e1f22c772c80f4f5756ab947e40538bcaf7fb7f8925834cfd4ef57c55e477a",
263263
"brackets.js": "f7a3164510e76e012591c9758acb47f2445526642503180c57209d30faa24d69",
264-
"cacheManifest.json": "8b727130819d77c87ac8bdd41b2f9c9f4237b07b2e6c39dd55987b588c77ab9d",
264+
"cacheManifest.json": "52eb28fe8b8cb762cc95362a2e8cb70bfa2262852dcb133f41213c3dbc1e8c98",
265265
"command/ChangeShortcutTemplate.html": "345d682d8bde29380822824778cf09acc79affae6e82b9db00c6205b2b3dd2ee",
266-
"command/CommandManager.js": "ecd5ccb7ffacb8fa24b6c284f5a19576e774f204746dbef75872992becbe5fb0",
267-
"command/Commands.js": "99fa4895ba13713db0bf8c3d14ba57969ffbfe236ea29bebb309c5e367524d7d",
268-
"command/DefaultMenus.js": "da42224e03af44ca2f76efd8fb4e5d6a339b36a0dd31e98a7dd2054aa50d17f1",
269-
"command/KeyBindingManager.js": "619663554ae638ce6c4d0c07460c690a296cd6ca1b658c0c055e003fef1d62ab",
270-
"command/KeyboardOverlayMode.js": "8ed49bc8728a109e3850d8ad2df374b51021f24a65811ac826210a1adcdbbb56",
271-
"command/Keys.js": "31cd87a01ce41de28e56ccbdd4fa14866cccc2b7bcde61c5134095adaa5cb674",
272-
"command/Menus.js": "729fd0ba4969590acafbfee188101244f7c2113b49c3617985f1d12544cee52e",
273-
"config.json": "4ecc11d3b5a3e83de8f09a8965f233bcb6a08c86183e2e005e4d7b08cd98780f",
266+
"command/CommandManager.js": "10181902fc2e55a780981a17b95c7b579427fdfd12c92ed49df35d3b70f64c15",
267+
"command/Commands.js": "1865297506325887a66cf11113c5cef905676fdc4b594b707bee381d968f15b0",
268+
"command/DefaultMenus.js": "edbe3c39dad9b015512e5ba028f86a634795805234f0496fe4605926f8f010b2",
269+
"command/KeyBindingManager.js": "bd928629c425d92cc4dcc4b37ab8bf78a1110066c7241ca060e33be24e20dc0b",
270+
"command/KeyboardOverlayMode.js": "7170dfcfca59b41252146ef8a5ca4f652c666e33b7a4b411e30e72951bd35b49",
271+
"command/Keys.js": "36545bbbca56d2a909779c5873fa860bf737977588ad61a398acb86f6bcbe4ee",
272+
"command/Menus.js": "b0c5031f13e4ca6efd594e9fcb973f0e591a1af6cc0c0df8ec32024f6bdd0f08",
273+
"config.json": "9442fee98808d5f88675116299fa94beaa42c9a6359366f95533cf1ae9e24aa3",
274274
"desktop-metrics.html": "66f87550ddf04f284a6c1e81567b7dfbefb2b8007f48f0bad7d8f7aacdb11bac",
275275
"devEnable.html": "44aa1a496a8be413299f651e6b0c3e62ac50cd5d40126ad1bb6b70b9b2b818c4",
276276
"document/ChangedDocumentTracker.js": "03b0eaf0995fee6d27c782a8028a1314f61214e383f5f5e198320b2faac4cf40",

command/CommandManager.js

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,36 @@ define(function (require, exports, module) {
3434

3535
const EventDispatcher = require("utils/EventDispatcher");
3636

37+
/**
38+
* Event triggered before command executes.
39+
* @constant {string}
40+
*/
3741
const EVENT_BEFORE_EXECUTE_COMMAND = "beforeExecuteCommand";
38-
const SOURCE_KEYBOARD_SHORTCUT = "keyboardShortcut",
39-
SOURCE_UI_MENU_CLICK = "uiMenuClick",
40-
SOURCE_OTHER = "otherExecAction";
42+
43+
/**
44+
* Keyboard shortcut trigger.
45+
* @constant {string}
46+
*/
47+
const SOURCE_KEYBOARD_SHORTCUT = "keyboardShortcut";
48+
49+
/**
50+
* UI menu click trigger.
51+
* @constant {string}
52+
*/
53+
const SOURCE_UI_MENU_CLICK = "uiMenuClick";
54+
55+
/**
56+
* Other trigger types.
57+
* @constant {string}
58+
*/
59+
const SOURCE_OTHER = "otherExecAction";
4160

4261

4362
/**
4463
* Map of all registered global commands
4564
* @type {Object} CommandMap
4665
* @property {Object.<string, Command>} commands - A map of command IDs to Command objects.
66+
* @private
4767
*/
4868
let _commands = {};
4969

@@ -52,6 +72,7 @@ define(function (require, exports, module) {
5272
* TODO (issue #1039): implement separate require contexts for unit tests
5373
* @type {Object} CommandMap
5474
* @property {Object.<string, Command>} commands - A map of command IDs to Command objects.
75+
* @private
5576
*/
5677
let _commandsOriginal = {};
5778

@@ -63,7 +84,6 @@ define(function (require, exports, module) {
6384
* - keyBindingRemoved
6485
*
6586
* @constructor
66-
* @private
6787
* @param {string} name - text that will be displayed in the UI to represent command
6888
* @param {string} id
6989
* @param {function} commandFn - the function that is called when the command is executed.
@@ -83,6 +103,7 @@ define(function (require, exports, module) {
83103

84104
/**
85105
* Get command id
106+
*
86107
* @return {string}
87108
*/
88109
Command.prototype.getID = function () {
@@ -120,6 +141,7 @@ define(function (require, exports, module) {
120141

121142
/**
122143
* Is command enabled?
144+
*
123145
* @return {boolean}
124146
*/
125147
Command.prototype.getEnabled = function () {
@@ -129,6 +151,7 @@ define(function (require, exports, module) {
129151
/**
130152
* Sets enabled state of Command and dispatches "enabledStateChange"
131153
* when the enabled state changes.
154+
*
132155
* @param {boolean} enabled
133156
*/
134157
Command.prototype.setEnabled = function (enabled) {
@@ -143,6 +166,7 @@ define(function (require, exports, module) {
143166
/**
144167
* Sets enabled state of Command and dispatches "checkedStateChange"
145168
* when the enabled state changes.
169+
*
146170
* @param {boolean} checked
147171
*/
148172
Command.prototype.setChecked = function (checked) {
@@ -156,6 +180,7 @@ define(function (require, exports, module) {
156180

157181
/**
158182
* Is command checked?
183+
*
159184
* @return {boolean}
160185
*/
161186
Command.prototype.getChecked = function () {
@@ -183,6 +208,7 @@ define(function (require, exports, module) {
183208

184209
/**
185210
* Get command name
211+
*
186212
* @return {string}
187213
*/
188214
Command.prototype.getName = function () {
@@ -193,6 +219,7 @@ define(function (require, exports, module) {
193219

194220
/**
195221
* Registers a global command.
222+
*
196223
* @param {string} name - text that will be displayed in the UI to represent command
197224
* @param {string} id - unique identifier for command.
198225
* Core commands in Brackets use a simple command title as an id, for example "open.file".
@@ -228,6 +255,7 @@ define(function (require, exports, module) {
228255

229256
/**
230257
* Registers a global internal only command.
258+
*
231259
* @param {string} id - unique identifier for command.
232260
* Core commands in Brackets use a simple command title as an id, for example "app.abort_quit".
233261
* Extensions should use the following format: "author.myextension.mycommandname".
@@ -259,6 +287,7 @@ define(function (require, exports, module) {
259287
/**
260288
* Clear all commands for unit testing, but first make copy of commands so that
261289
* they can be restored afterward
290+
* @private
262291
*/
263292
function _testReset() {
264293
_commandsOriginal = _commands;
@@ -267,6 +296,7 @@ define(function (require, exports, module) {
267296

268297
/**
269298
* Restore original commands after test and release copy
299+
* @private
270300
*/
271301
function _testRestore() {
272302
_commands = _commandsOriginal;

0 commit comments

Comments
 (0)