Commit Graph

192 Commits

Author SHA1 Message Date
kozbial 426c741e90 Migrate core/utils/colour.js to ES6 const/let 2021-07-15 07:03:08 -07:00
Maribeth Bottorff 9afd937568 Migrate core/utils/aria.js to goog.module 2021-07-14 17:33:01 -07:00
Maribeth Bottorff 0ceee1b775 Update incorrect JsDoc comment. 2021-07-14 16:59:32 -07:00
Maribeth Bottorff 5e31d8d7f3 Migrate core/utils/aria.js to ES6 const/let 2021-07-14 16:58:10 -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
Aaron Dodson 1d8f6e903c Migrate core/utils/dom.js to named requires 2021-07-14 15:38:35 -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 563defa3ba Migrate core/utils/dom.js to goog.module 2021-07-14 15:01:16 -07:00
Aaron Dodson 042b235764 Migrate core/utils/dom.js to ES6 const/let 2021-07-14 14:52:17 -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
Neil Fraser d919b0af21 Update JSDoc from Array.<> to Array<>
Same with Object.
2021-05-27 21:30:26 -07:00
Neil Fraser dd0314bc0b Normalize comments 2021-05-19 09:57:14 -07:00
Rachel Fenichel 256eaa9497 Remove rules forbidding es6 2021-04-13 16:02:11 -07:00
alschmiedt 869e4eb366 Update flyout metrics to work with the new metrics manager (#4684) 2021-03-09 17:09:49 -08:00
Rachel Fenichel f7e0d5f4ea Use existing toolbox position enum 2021-03-05 14:16:43 -08:00
Rachel Fenichel 59084a043c TOOLBOX_AT_TOP and friends -> constants.toolboxPosition.TOP, etc 2021-03-05 13:48:45 -08:00
Sam El-Husseini 63d26dc186 Add extra requires check (#4677)
* Add extra requires check
2021-03-05 09:50:51 -08:00