Commit Graph

3086 Commits

Author SHA1 Message Date
Rachel Fenichel
cc7a263fb3 Replace references to SPRITE and SOUND_LIMIT with internalConstants versions 2021-07-21 15:33:55 -07:00
Rachel Fenichel
c15f1e4767 Move constants to internal_constants.js and add aliases 2021-07-21 15:33:16 -07:00
Aaron Dodson
d85c9f1cc6 Merge pull request #5147 from gonfunko/field_checkbox
Migrate core/field_checkbox.js to goog.module syntax
2021-07-21 14:24:58 -07:00
Aaron Dodson
393cdf1fa4 Switch from destructuring to normal imports in core/field_checkbox.js 2021-07-21 14:18:05 -07:00
Aaron Dodson
453a3e3207 Merge pull request #5154 from gonfunko/field
Migrate core/field.js to goog.module syntax
2021-07-21 14:14:03 -07:00
Aaron Dodson
48a86f1550 Merge pull request #5151 from gonfunko/drag_target
Migrate core/drag_target.js to goog.module syntax
2021-07-21 12:50:54 -07:00
Aaron Dodson
edcfc04da1 clang-format core/field.js 2021-07-21 11:45:32 -07:00
Aaron Dodson
a3ae4f3016 Migrate core/field.js to named requires 2021-07-21 11:41:48 -07:00
kozbial
7d946afb4e Migrate core/interfaces/i_registrable_field.js named requires 2021-07-21 11:28:04 -07:00
kozbial
00a74e9d37 Migrate core/interfaces/i_registrable_field.js to goog.module 2021-07-21 11:28:04 -07:00
Rachel Fenichel
d87614f5a2 Merge pull request #5107 from rachel-fenichel/update_renderer_info
Migrate core/renderers/common/info.js to goog.module syntax
2021-07-21 11:21:46 -07:00
Aaron Dodson
91721f7d16 Migrate core/field.js to goog.module 2021-07-21 11:18:41 -07:00
Aaron Dodson
a57399704f Migrate core/field.js to ES6 const/let 2021-07-21 11:15:25 -07:00
Aaron Dodson
b1b5358b67 Migrate core/drag_target.js to named requires 2021-07-21 11:06:53 -07:00
Aaron Dodson
0dc01b1618 Migrate core/drag_target.js to goog.module 2021-07-21 11:02:32 -07:00
kozbial
ecec6daf80 clang-format core/keyboard_nav/tab_navigate_cursor.js 2021-07-21 10:26:15 -07:00
kozbial
9a6a92bf52 Migrate core/keyboard_nav/tab_navigate_cursor.js named requires 2021-07-21 10:26:15 -07:00
kozbial
f282c57323 Migrate core/keyboard_nav/tab_navigate_cursor.js to goog.module 2021-07-21 10:26:15 -07:00
kozbial
9d6cbe96d3 Migrate core/keyboard_nav/tab_navigate_cursor.js to ES6 const/let 2021-07-21 10:26:15 -07:00
Aaron Dodson
5bc41ac960 clang-format core/field_checkbox.js 2021-07-21 08:48:43 -07:00
Aaron Dodson
29135ec920 Migrate core/field_checkbox.js to named requires 2021-07-21 08:47:44 -07:00
Aaron Dodson
7a050d021d Migrate core/field_checkbox.js to goog.module 2021-07-21 08:43:46 -07:00
kozbial
3c77ff1fb2 Migrate core/interfaces/i_collapsible_toolbox_item.js, core/interfaces/i_selectable_toolbox_item.js, and core/interfaces/i_toolbox_item.js named requires 2021-07-20 18:26:05 -07:00
kozbial
1b09c8d8b7 Migrate core/interfaces/i_collapsible_toolbox_item.js, core/interfaces/i_selectable_toolbox_item.js, and core/interfaces/i_toolbox_item.js to goog.module 2021-07-20 18:26:05 -07:00
kozbial
599385891a Break up interfaces in core/i_toolbox_item.js into separate files 2021-07-20 18:26:05 -07:00
kozbial
6b10f9545c Migrate core/interfaces/i_registrable.js to goog.module 2021-07-20 18:25:19 -07:00
jschanker
50a66c024d Permit single field disabling (#4932) (#4941)
* Permit single field disabling (https://github.com/google/blockly/issues/4932)

* Permit single field disabling (#4932)

* Fixed lint error (moved && to end of line and adjusted line breaks accordingly)

* Added XML Field (De)Serialization

* Call parent method in FieldDropdown's fromXml
* Added protected helper methods to handle serialization/deserialization of enabled property/attribute of fields
* Minor changes to annotations to account for field disabling and 4 spaces per line break per style guide

* Revert "Added XML Field (De)Serialization"

This reverts commit 1964e866b6.

* Comment style changes

* Comment reversions

* Indentation fix

* Indentation reversion
2021-07-20 16:48:30 -07:00
alschmiedt
be76e034ca Merge pull request #5076 from alschmiedt/migrate_utils_toolbox
Migrate core/utils/toolbox.js to goog.module syntax
2021-07-20 14:12:55 -07:00
Aaron Dodson
627ce9962c Merge pull request #5102 from gonfunko/connection
Migrate core/connection.js to goog.module syntax
2021-07-20 11:17:34 -07:00
kozbial
c9f2a92ace Migrate core/keyboard_nav/cursor.js named requires 2021-07-20 10:58:08 -07:00
kozbial
e50c60bfdb Migrate core/keyboard_nav/cursor.js to goog.module 2021-07-20 10:58:08 -07:00
kozbial
317a2e6f53 Migrate core/keyboard_nav/cursor.js to ES6 const/let 2021-07-20 10:58:08 -07:00
kozbial
9eee886925 Migrate core/interfaces/i_connection_checker.js named requires 2021-07-20 10:57:50 -07:00
kozbial
77aaab0e1f Migrate core/interfaces/i_connection_checker.js to goog.module 2021-07-20 10:57:50 -07:00
Aaron Dodson
afcbcfe696 Merge branch 'goog_module' into connection 2021-07-20 10:52:26 -07:00
Aaron Dodson
da960d5973 Convert private static functions to module-internal functions in core/connection.js 2021-07-20 10:49:21 -07:00
kozbial
2ef8b2c86b clang-format core/keyboard_nav/basic_cursor.js 2021-07-20 10:42:03 -07:00
kozbial
4a3d67abeb Migrate core/keyboard_nav/basic_cursor.js named requires 2021-07-20 10:42:03 -07:00
kozbial
29cfb470aa Migrate core/keyboard_nav/basic_cursor.js to goog.module 2021-07-20 10:42:03 -07:00
kozbial
09b020e62f Migrate core/keyboard_nav/basic_cursor.js to ES6 const/let 2021-07-20 10:42:03 -07:00
Aaron Dodson
784c1c86a3 Merge pull request #5098 from gonfunko/comment
Migrate core/comment.js to goog.module syntax
2021-07-20 09:47:32 -07:00
Aaron Dodson
52bde51784 Merge branch 'comment' of https://github.com/gonfunko/blockly into comment 2021-07-20 09:38:16 -07:00
Aaron Dodson
d9625b1caf Require userAgent module instead of destructuring in core/comment.js 2021-07-20 09:38:06 -07:00
Rachel Fenichel
ff591b0e73 Alphabetize 2021-07-19 21:26:53 -07:00
kozbial
514f744a6f Migrate core/interfaces/i_autohideable.js named requires 2021-07-19 15:20:10 -07:00
kozbial
e43c82d9bb Migrate core/interfaces/i_autohideable.js to goog.module 2021-07-19 15:20:10 -07:00
kozbial
867c6cb140 Migrate core/interfaces/i_toolbox.js named requires 2021-07-19 15:14:54 -07:00
kozbial
c72805b48a Migrate core/interfaces/i_toolbox.js to goog.module 2021-07-19 15:14:54 -07:00
kozbial
d55ce59224 Migrate core/interfaces/i_flyout.js named requires 2021-07-19 15:14:28 -07:00
kozbial
583e321647 Migrate core/interfaces/i_flyout.js to goog.module 2021-07-19 15:14:28 -07:00