Aaron Dodson
a9a431357b
Merge branch 'goog_module' into delete_area
2021-07-22 12:49:21 -07:00
Aaron Dodson
47314fd0b9
clang-format core/flyout_base.js
2021-07-22 11:27:36 -07:00
Aaron Dodson
c5694ba711
Migrate core/flyout_base.js named requires
2021-07-22 11:26:32 -07:00
Aaron Dodson
3df8c32594
Migrate core/flyout_base.js to goog.module
2021-07-22 11:11:27 -07:00
Aaron Dodson
380cfd5963
Migrate core/flyout_base.js to ES6 const/let
2021-07-22 11:08:58 -07:00
alschmiedt
48ccc38cbb
Fix destructuring
2021-07-22 10:42:56 -07:00
Aaron Dodson
ee565f16d6
Silence unused variable warnings for requires used in JSDoc
2021-07-22 10:41:55 -07:00
Aaron Dodson
88aa32510c
clang-format core/field_variable.js
2021-07-22 10:38:10 -07:00
Aaron Dodson
bd5fd3bb08
Migrate core/field_variable.js named requires
2021-07-22 10:37:24 -07:00
Aaron Dodson
f5de84486f
Migrate core/field_variable.js to goog.module
2021-07-22 10:32:47 -07:00
Aaron Dodson
f92968b302
Migrate core/field_variable.js to ES6 const/let
2021-07-22 10:29:34 -07:00
Aaron Dodson
13272c3713
clang-format core/field_textinput.js
2021-07-22 10:23:06 -07:00
Aaron Dodson
9573f2b7ec
Migrate core/field_textinput.js to named requires
2021-07-22 10:21:57 -07:00
Monica Kozbial
9d29bff713
Ask before deconstructing properties for a require ( #5169 )
2021-07-22 10:01:41 -07:00
Monica Kozbial
720059e502
Fix bugs ( #5175 )
2021-07-22 09:59:02 -07:00
Monica Kozbial
efdc9e3afa
Support filepath as first argument and cleanup ( #5168 )
2021-07-22 09:11:54 -07:00
alschmiedt
296eed06fb
Fix build
2021-07-22 09:01:59 -07:00
alschmiedt
e5468a50b4
clang-format core/menu.js
2021-07-22 08:51:13 -07:00
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