Commit Graph

6981 Commits

Author SHA1 Message Date
alschmiedt 6dd36c3432 Migrate core/menu.js named requires 2021-07-22 08:51:13 -07:00
alschmiedt 4b19c7ecb5 Migrate core/menu.js to goog.module 2021-07-22 08:51:13 -07:00
alschmiedt 9134d45d94 Migrate core/menu.js to ES6 const/let 2021-07-22 08:50:57 -07:00
Aaron Dodson d2a43460d0 Migrate core/field_textinput.js to goog.module 2021-07-22 08:49:08 -07:00
Aaron Dodson c3eaf1afc5 Migrate core/field_textinput.js to ES6 const/let 2021-07-22 08:44:28 -07:00
Aaron Dodson 223ec1dd6c clang-format core/field_registry.js 2021-07-22 08:35:25 -07:00
Aaron Dodson 222b234802 Migrate core/field_registry.js to named requires 2021-07-22 08:34:55 -07:00
Aaron Dodson 063dc8b804 Migrate core/field_registry.js to goog.module 2021-07-22 08:30:54 -07:00
Aaron Dodson f1a41023d9 Migrate core/field_registry.js to ES6 const/let 2021-07-22 08:27:35 -07:00
Aaron Dodson b65242803b Merge pull request #5162 from gonfunko/field_dropdown
Migrate core/field_dropdown.js to goog.module syntax
2021-07-22 08:14:14 -07:00
Aaron Dodson d369ce49fd Merge branch 'goog_module' into field_dropdown 2021-07-22 08:11:31 -07:00
Aaron Dodson 83ff0ea09e Merge pull request #5148 from gonfunko/rerefactor
Update goog.module-migrated files to fix style issues
2021-07-22 08:09:53 -07:00
Aaron Dodson a797fe70fc Merge pull request #5145 from gonfunko/field_number
Migrate core/field_number.js to goog.module syntax
2021-07-22 08:08:59 -07:00
Aaron Dodson 500bcaba00 Merge pull request #5159 from gonfunko/field_colour
Migrate core/field_colour.js to goog.module syntax
2021-07-22 08:08:25 -07:00
Aaron Dodson f6506d2102 Merge branch 'goog_module' into field_colour 2021-07-22 08:08:14 -07:00
Neil Fraser 2325c66d69 Fix double execution in Code demo (#5152)
* Fix double execution in Code demo

PR #5037  fixed double execution of the run button on mobile.  But the link button and other events still suffer from double execution.  This PR moves the fix from the run button to the central bind function so that it applies universally.

* Pass the event to the user function

Not used but good to have.
2021-07-21 19:17:00 -07:00
Monica Kozbial c6650f0b83 Remove need for require instead of requireType for Block in ASTNode (#5157) 2021-07-21 16:53:08 -07:00
Rachel Fenichel 6b059205dc Merge pull request #5140 from rachel-fenichel/update_constants
Make constants.js have no side effects
2021-07-21 15:52:33 -07:00
Rachel Fenichel 12636da182 Reorder some requires and rebuild 2021-07-21 15:47:55 -07:00
Rachel Fenichel cf7a8b95b8 Remove extra requires of Blockly.constants 2021-07-21 15:35:19 -07:00
Rachel Fenichel b3f837a8d2 Replace references to constants with internalConstants 2021-07-21 15:33:55 -07:00
Rachel Fenichel 8b5f5f72d6 Refer to more constants through internalConstants 2021-07-21 15:33:55 -07:00
Rachel Fenichel ad5836b26d Convert more names to use internalConstants 2021-07-21 15:33:55 -07:00
Rachel Fenichel cc7a263fb3 Replace references to SPRITE and SOUND_LIMIT with internalConstants versions 2021-07-21 15:33:55 -07:00
Rachel Fenichel 324c3c038f Rebuild 2021-07-21 15:33:53 -07:00
Rachel Fenichel c15f1e4767 Move constants to internal_constants.js and add aliases 2021-07-21 15:33:16 -07:00
Aaron Dodson 5e3940195f Migrate private static fields/functions in core/field_dropdown.js to module-internal 2021-07-21 15:02:35 -07:00
Aaron Dodson 740e4651b1 clang-format core/field_dropdown.js 2021-07-21 14:56:32 -07:00
Aaron Dodson 36bb605bbc Migrate core/field_dropdown.js to named requires 2021-07-21 14:53:44 -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 5f213b48a6 Migrate core/field_dropdown.js to goog.module 2021-07-21 13:30:06 -07:00
Aaron Dodson 0d248583c8 Migrate core/field_dropdown.js to ES6 const/let 2021-07-21 13:26:52 -07:00
Aaron Dodson 595f3c0802 clang-format core/field_colour.js 2021-07-21 13:17:10 -07:00
Aaron Dodson ba30031d36 Migrate core/field_colour.js to named requires 2021-07-21 13:13:31 -07:00
Aaron Dodson 03e1725f32 Migrate core/field_colour.js to goog.module 2021-07-21 13:00:05 -07:00
Aaron Dodson 5f305041a9 Migrate core/field_colour.js to ES6 const/let 2021-07-21 12:57:19 -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
Monica Kozbial 96420f0daf Add command to deploy beta version of demos (#4958) 2021-07-21 11:53:52 -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
Aaron Dodson ff34d8c37e Migrate core/delete_area.js to named requires 2021-07-21 10:57:20 -07:00