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
alschmiedt
268a83d054
Address PR comments
2021-07-19 13:40:05 -07:00
Aaron Dodson
821cdcef0f
Merge pull request #5060 from gonfunko/style
...
Migrate core/utils/style.js to goog.module syntax
2021-07-19 09:45:03 -07:00
Aaron Dodson
9b5a919212
Convert core/utils/styles.js to inline export style
2021-07-19 09:41:58 -07:00
kozbial
972f3022ed
Migrate core/utils/coordinate.js to goog.module
2021-07-16 12:03:26 -07:00
kozbial
fb7bba3491
Migrate core/utils/coordinate.js to ES6 const/let
2021-07-16 12:03:26 -07:00
kozbial
81b16abb92
Migrate core/utils/metrics.js to goog.module
2021-07-15 17:52:04 -07:00
alschmiedt
fe9273ad5c
clang-format core/utils/toolbox.js
2021-07-15 13:00:45 -07:00
alschmiedt
2ab3bfd4cb
Migrate core/utils/toolbox.js named requires
2021-07-15 12:56:39 -07:00
alschmiedt
d3cc70eb37
Migrate core/utils/toolbox.js to goog.module
2021-07-15 12:56:01 -07:00
alschmiedt
f0d905dde0
Migrate core/utils/toolbox.js to ES6 const/let
2021-07-15 12:55:35 -07:00
kozbial
f63bf29b76
clang-format core/utils/colour.js
2021-07-15 07:03:08 -07:00
kozbial
8abfa3d888
Migrate core/utils/colour.js to goog.module
2021-07-15 07:03:08 -07:00
kozbial
426c741e90
Migrate core/utils/colour.js to ES6 const/let
2021-07-15 07:03:08 -07:00
kozbial
de2cff80fd
clang-format core/utils/rect.js
2021-07-14 16:13:58 -07:00
kozbial
466a0db809
Migrate core/utils/rect.js to goog.module
2021-07-14 16:13:58 -07:00
Aaron Dodson
0ac3994343
Merge pull request #5062 from gonfunko/svg
...
Migrate core/utils/svg_paths.js to goog.module syntax
2021-07-14 15:59:43 -07:00
kozbial
7cc85d9c4a
clang-format core/utils/math.js
2021-07-14 15:06:03 -07:00
kozbial
06cbde1dba
Migrate core/utils/math.js to goog.module
2021-07-14 15:06:03 -07:00
kozbial
5fbf5fe40d
Migrate core/utils/math.js to ES6 const/let
2021-07-14 15:06:03 -07:00
Aaron Dodson
916b49a2e5
clang-format core/utils/svg_paths.js
2021-07-14 14:44:17 -07:00
Aaron Dodson
72a0761312
Migrate core/utils/svg_paths.js to goog.module
2021-07-14 14:43:15 -07:00
Aaron Dodson
46a3462026
clang-format core/utils/style.js
2021-07-14 14:11:25 -07:00
Aaron Dodson
55ac3741b7
Migrate core/utils/style.js to named requires
2021-07-14 14:10:42 -07:00
Aaron Dodson
656f4fc9d6
Migrate core/utils/style.js to goog.module
2021-07-14 13:58:05 -07:00
Aaron Dodson
78e72222c1
Migrate core/utils/style.js to ES6 const/let
2021-07-14 13:48:22 -07:00
alschmiedt
92bc3bba0f
Merge pull request #5056 from alschmiedt/migrate_idgenerator
...
Migrate core/utils/idgenerator.js to goog.module syntax
2021-07-14 13:29:50 -07:00
alschmiedt
08911510d2
Migrate core/utils/idgenerator.js to goog.module
2021-07-14 13:23:57 -07:00
Aaron Dodson
bad4b7036f
Merge pull request #5057 from gonfunko/object
...
Migrate object.js to goog.module syntax
2021-07-14 11:19:47 -07:00
kozbial
819a0f1596
clang-format core/utils/deprecation.js
2021-07-14 11:16:32 -07:00
kozbial
2bf717019f
Migrate core/utils/deprecation.js to goog.module
2021-07-14 11:16:32 -07:00
kozbial
cd4831537e
Migrate core/utils/deprecation.js to ES6 const/let
2021-07-14 11:16:32 -07:00
Aaron Dodson
b92fba1a5a
Fixed missing semicolon.
2021-07-14 10:55:10 -07:00
kozbial
632ef12ed5
Migrate core/utils/keycodes.js to goog.module
2021-07-14 09:48:23 -07:00
Aaron Dodson
d224a2341d
Migrate object.js to goog.module
2021-07-13 15:30:56 -07:00
Aaron Dodson
78b8e2fa85
Migrate object.js to ES6 const/let
2021-07-13 14:42:56 -07:00
Neil Fraser
b3c94db951
Revert "Revert "Group field edits together for undo/redo""
...
This reverts commit 344ebcfd02 .
2021-07-12 09:38:04 -07:00
Neil Fraser
8a3c701026
Enable static method inheritance.
2021-07-11 23:20:20 -07:00
Maribeth Bottorff
74f1926b6a
fix doc typo
2021-07-01 19:11:06 -07:00
Neil Fraser
344ebcfd02
Revert "Group field edits together for undo/redo"
...
This reverts commit 33ad2448b8 .
2021-06-29 11:35:21 -07:00
Neil Fraser
33ad2448b8
Group field edits together for undo/redo
...
Fixes #4189 .
Also use 0 instead of 0px, in accordance with the rest of Blockly and Google’s CSS style guide.
2021-06-29 09:57:25 -07:00
Aaron Dodson
289d8ac857
Adjusted line wrapping.
2021-06-15 15:22:51 +00:00
Neil Fraser
0eef4f34f6
'navigator' may be renamed by the compiler.
...
Use quoted name instead. Also, navigator doesn't exist in Node, or non-browser environments.
2021-06-14 22:32:55 -07:00
Aaron Dodson
c29afbcd27
Updated user agent parsing to detect iPads posing as desktop Safari.
2021-06-14 22:14:46 +00:00
Maribeth Bottorff
f0143b6d6c
Add a clone method to Coordinate
2021-06-10 16:12:48 -07:00
Neil Fraser
cff7b359f4
Make comments more consistent.
2021-06-09 11:41:42 -07:00
Neil Fraser
76b5517008
Use null-prototype objects for maps
...
A {} has a bunch of names already defined on it (like ‘toString’). When using an object as a map with arbitrary keys, it should not inherit from Object.prototype.
2021-06-09 11:41:42 -07:00
Neil Fraser
f64c11d74e
Make JSDoc object nullability more strict.
...
Also make Blockly.utils.deprecation.warn apply to properties.
2021-05-27 21:30:26 -07:00
Neil Fraser
9869269ce2
Add procedures to name DB in init
...
This enables the generator for any block to see all variable names and procedure names in the whole program, including those that haven’t generated yet.
2021-05-27 21:30:26 -07:00
Neil Fraser
17f9209f2f
Add missing extern
2021-05-27 21:30:26 -07:00