Commit Graph

3778 Commits

Author SHA1 Message Date
Aaron Dodson 25fc34925f Migrate core/field_number.js to named requires 2021-07-21 08:31:39 -07:00
Aaron Dodson 0a1311c9b5 Migrate core/field_number.js to goog.module 2021-07-21 08:26:41 -07:00
Aaron Dodson 94bdd18505 Migrate core/field_number.js to ES6 const/let 2021-07-21 08:23:17 -07:00
Aaron Dodson 0e6258ca1a Migrated to inline exports 2021-07-21 08:17:13 -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 f0fc360bfa Inline otherwise-unused variable in core/utils/dom.js 2021-07-20 11:30:09 -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
jschanker e8c4af32b0 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-19 18:02:20 -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
Aaron Dodson b2210de0a5 Merge pull request #5121 from gonfunko/connection_db
Migrate core/connection_db.js to goog.module syntax
2021-07-19 14:36:47 -07:00
Aaron Dodson a8cba441e7 Fix comment indentation in core/connection_db.js 2021-07-19 14:33:15 -07:00
Aaron Dodson cf176fc476 Merge branch 'goog_module' into comment 2021-07-19 13:55:27 -07:00
Aaron Dodson ac1fb9a4dd Revise imports in core/comment.js 2021-07-19 13:53:47 -07:00
alschmiedt 268a83d054 Address PR comments 2021-07-19 13:40:05 -07:00
Rachel Fenichel 8afef7f598 Destructure some requires 2021-07-19 13:29:45 -07:00
Aaron Dodson f2ca659447 clang-format core/connection_db.js 2021-07-19 10:59:44 -07:00
Aaron Dodson acd7e55968 Migrate core/connection_db.js to named requires 2021-07-19 10:59:08 -07:00
Aaron Dodson a87b2b0bfa Migrate core/connection_db.js to goog.module 2021-07-19 10:53:42 -07:00
Aaron Dodson f77d5f1264 Migrate core/connection_db.js to ES6 const/let 2021-07-19 10:49:20 -07:00
kozbial bdede7c1ab Migrate core/interfaces/i_contextmenu.js to goog.module 2021-07-19 10:29:21 -07:00
kozbial 94e36dba31 Migrate core/interfaces/i_keyboard_accessible.js named requires 2021-07-19 10:28:07 -07:00
kozbial 3d174ae058 Migrate core/interfaces/i_keyboard_accessible.js to goog.module 2021-07-19 10:28:07 -07:00
kozbial 04ef2705d1 Migrate core/interfaces/i_ast_node_location_with_block.js named requires 2021-07-19 10:28:07 -07:00
kozbial 794e4554fe Migrate core/interfaces/i_ast_node_location_with_block.js to goog.module 2021-07-19 10:28:07 -07:00
kozbial cdea0789dd Migrate core/interfaces/i_ast_node_location_svg.js named requires 2021-07-19 10:28:07 -07:00