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
Aaron Dodson
7219b83093
Migrate core/delete_area.js to goog.module
2021-07-21 10:52:35 -07:00
Aaron Dodson
b2a68532d2
Migrate core/delete_area.js to ES6 const/let
2021-07-21 10:48:56 -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
Aaron Dodson
e15470bbd0
clang-format core/field_number.js
2021-07-21 08:32:09 -07:00
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