Commit Graph

403 Commits

Author SHA1 Message Date
Aaron Dodson
2b6d275440 Migrate core/renderers/measurables/types.js to goog.module syntax (#5309)
* Migrate core/renderers/measurables/types.js to goog.module

* Migrate core/renderers/measurables/types.js to named requires

* clang-format core/renderers/measurables/types.js
2021-08-05 13:57:16 -07:00
Aaron Dodson
d0b5f6db8b Migrate core/renderers/geras/highlight_constants.js to goog.module syntax (#5303)
* Migrate core/renderers/geras/highlight_constants.js to ES6 const/let

* Migrate core/renderers/geras/highlight_constants.js to goog.module

* Migrate core/renderers/geras/highlight_constants.js to named requires

* clang-format core/renderers/geras/highlight_constants.js
2021-08-05 10:13:03 -07:00
Aaron Dodson
80b521e8d7 Migrate core/renderers/geras/info.js to goog.module syntax (#5305)
* Migrate core/renderers/geras/info.js to ES6 const/let

* Migrate core/renderers/geras/info.js to goog.module

* Migrate core/renderers/geras/info.js to named requires

* clang-format core/renderers/geras/info.js
2021-08-05 08:09:10 -07:00
Aaron Dodson
fba87c93c4 Migrate core/renderers/geras/highlighter.js to goog.module syntax (#5304)
* Migrate core/renderers/geras/highlighter.js to ES6 const/let

* Migrate core/renderers/geras/highlighter.js to goog.module

* Migrate core/renderers/geras/highlighter.js to named requires

* clang-format core/renderers/geras/highlighter.js
2021-08-04 12:12:53 -07:00
kozbial
b233c5f10a Update visibility of constants 2021-08-04 09:20:20 -07:00
kozbial
99b30b92ce clang-format core/renderers/common/marker_svg.js 2021-08-04 09:20:20 -07:00
kozbial
3b43a19705 Migrate core/renderers/common/marker_svg.js named requires 2021-08-04 09:20:20 -07:00
kozbial
7aa382154c Migrate core/renderers/common/marker_svg.js to goog.module 2021-08-04 09:20:20 -07:00
kozbial
8eda99ea34 Migrate core/renderers/common/marker_svg.js to ES6 const/let 2021-08-04 09:20:20 -07:00
Monica Kozbial
bec82da358 Remove require destructuring (#5294) 2021-08-03 15:07:14 -07:00
Aaron Dodson
87ccee7843 clang-format core/renderers/geras/constants.js 2021-08-03 10:42:26 -07:00
Aaron Dodson
0203eec8c7 Migrate core/renderers/geras/constants.js to named requires 2021-08-03 10:40:25 -07:00
Aaron Dodson
8e30d9ebd1 Migrate core/renderers/geras/constants.js to goog.module 2021-08-03 10:37:17 -07:00
kozbial
3d8a79fe96 Add missing eslint disable to core/renderers/common/i_path_object.js 2021-07-30 15:49:17 -07:00
kozbial
03de38c41a Add eslint disable 2021-07-30 15:19:26 -07:00
kozbial
31b10f1489 Migrate core/renderers/common/i_path_object.js named requires 2021-07-30 15:19:26 -07:00
kozbial
3aae7ffbde Migrate core/renderers/common/i_path_object.js to goog.module 2021-07-30 15:19:26 -07:00
Rachel Fenichel
55207a2e7f clang-format core/renderers/common/path_object.js 2021-07-27 14:41:29 -07:00
Rachel Fenichel
cf3d22c490 Migrate core/renderers/common/path_object.js named requires 2021-07-27 14:39:02 -07:00
Rachel Fenichel
c068a3b6f9 Migrate core/renderers/common/path_object.js to goog.module 2021-07-27 14:26:04 -07:00
Rachel Fenichel
1dfee3a722 Make defs private and add nullability 2021-07-23 16:39:40 -07:00
Rachel Fenichel
a392696c7a Convert core/renderers/common/constants.js to const/let 2021-07-23 15:07:30 -07:00
Rachel Fenichel
4aef7e3bcd clang-format core/renderers/common/constants.js 2021-07-23 15:00:14 -07:00
Rachel Fenichel
82c1d8c47a Migrate core/renderers/common/constants.js named requires 2021-07-23 14:48:55 -07:00
Rachel Fenichel
e9c1e67d17 Migrate core/renderers/common/constants.js to goog.module 2021-07-23 14:38:20 -07:00
Rachel Fenichel
046636547e Change how the debug filter is created 2021-07-23 14:37:20 -07:00
Aaron Dodson
ee565f16d6 Silence unused variable warnings for requires used in JSDoc 2021-07-22 10:41:55 -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
Rachel Fenichel
cf7a8b95b8 Remove extra requires of Blockly.constants 2021-07-21 15:35:19 -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
0e6258ca1a Migrated to inline exports 2021-07-21 08:17:13 -07:00
Rachel Fenichel
ff591b0e73 Alphabetize 2021-07-19 21:26:53 -07:00
Rachel Fenichel
8afef7f598 Destructure some requires 2021-07-19 13:29:45 -07:00
Rachel Fenichel
f7a5d809bc clang-format core/renderers/common/info.js 2021-07-16 15:14:32 -07:00
Rachel Fenichel
b3877ffbb9 Migrate core/renderers/common/info.js to named requires 2021-07-16 15:13:41 -07:00
Rachel Fenichel
20079a64aa Migrate core/renderers/common/info.js to goog.module 2021-07-16 14:38:01 -07:00
Rachel Fenichel
1e81334c15 Migrate core/renderers/common/info.js to ES6 const/let 2021-07-16 14:15:25 -07:00
Rachel Fenichel
218046495f Sort requires 2021-07-16 13:12:05 -07:00
Rachel Fenichel
d2142a2e9f Clang-format core/renderers/common/drawer.js and remove unused require 2021-07-16 11:00:50 -07:00
Rachel Fenichel
f80764e153 Migrate core/renderers/common/drawer.js to named requires 2021-07-16 10:51:14 -07:00
Rachel Fenichel
94685bd8be Migrate core/renderers/common/drawer.js to goog.module 2021-07-16 09:52:32 -07:00
Rachel Fenichel
b43b19c7a3 Migrate core/renderers/common/drawer.js to ES6 const/let 2021-07-15 14:38:16 -07:00
Christopher Allen
1197afcee7 Fix JSDoc type annotations causing closure-make-deps warnings
Some type annotations were missing curly brackets, which makes
closure-make-deps emit uninteresting warnings.  Now any output
from the command will be informative and related to whatever
one is presently working on.
2021-07-12 03:17:14 +01:00
Beka Westberg
13bb9f5bf6 Refactor connect logic (#4880)
* Refactor connect logic.

* Fixup from rebase

* Fix build

* PR Comments
2021-06-18 09:53:43 -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
c5a7b481bc Code simplifications 2021-06-03 08:23:01 -07:00
Neil Fraser
d919b0af21 Update JSDoc from Array.<> to Array<>
Same with Object.
2021-05-27 21:30:26 -07:00
Beka Westberg
5ffd43824f Change lastConnectionInRow to getPlaceForOrphanedOutput - Take 2 (#4851)
* Change lastConnectionInRow to getPlaceForOrphanedOutput

* PR comments
2021-05-26 09:16:33 -07:00
Neil Fraser
dd0314bc0b Normalize comments 2021-05-19 09:57:14 -07:00