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
Sam El-Husseini
0cc79b1366
Fix missing require - constructors ( #4676 )
...
* Fix missing constructors
2021-04-21 12:11:13 -07:00
Laura Harker
5ff76ae32d
Stop overriding @protected methods with @private ( #4760 )
...
An upcoming change to emit private properties in Google's internal version of
https://github.com/angular/clutz will otherwise break any
TypeScript depending on these types. This is because TypeScript errors
on overriding protected with private (Closure Compiler does not).
2021-04-06 11:05:41 -07:00
Sam El-Husseini
63d26dc186
Add extra requires check ( #4677 )
...
* Add extra requires check
2021-03-05 09:50:51 -08:00
Rachel Fenichel
7f8c875b29
Fix lint
2021-03-04 10:23:20 -08:00
Rachel Fenichel
750b62030b
First pass at creating connectionTypes and inputTYpes
2021-03-04 10:22:24 -08:00
Rachel Fenichel
4e31deca2b
Align constants -> Blockly.constants.ALIGN enum
2021-02-26 11:12:53 -08:00
Sam El-Husseini
f97730e83c
Sort requires ( #4658 )
...
* Cleanup gulp method to sort requires
2021-02-25 17:17:42 -08:00
Sam El-Husseini
ab8a11784d
Fix event related missing requires ( #4656 )
...
* Fix event related missing requires
2021-02-25 14:28:11 -08:00
Rachel Fenichel
107181d6f5
Missing requires, r through v
2021-02-17 14:52:06 -08:00
Rachel Fenichel
3c43738999
Add missing requireTypes to zelos
2021-02-02 11:38:08 -08:00
Rachel Fenichel
9ce06fb7d3
Add missing requireTypes for core/renderers/measurables
2021-02-02 11:38:08 -08:00
Rachel Fenichel
b2052aeff4
Add requireTypes for renderers/common
2021-02-02 11:38:08 -08:00
Rachel Fenichel
6791e1aff2
Fix missing requires and requireTypes in zelos
2021-02-02 11:38:08 -08:00
Rachel Fenichel
1f4891e309
Fix missing requires and requireTypes in thrasos
2021-02-02 11:38:08 -08:00
Rachel Fenichel
52c77c70d6
Fix missing require and requireTypes in geras
2021-02-02 11:38:08 -08:00
alschmiedt
ded97db12e
Fix statement input height bug ( #4486 )
2020-12-01 10:26:46 -08:00
Monica Kozbial
40ef586260
Refactoring Ui events in core ( #4418 )
...
* Ui events base (#4370 )
* Add constants for new ui event types
* Add property to indicate an event as UI event
* Click events (#4372 )
* Creating new ui base class.
* Refactor theme event (#4391 )
* Add themeName property to theme event
* Refactor marker move events. (#4389 )
* Refactor trashcan open event (#4392 )
* Refactor selected event (#4387 )
* Refactor toolbox item change event (#4394 )
* Refactor bubble open events (#4390 )
* Refactor block drag event (#4388 )
* Viewport events (#4395 )
* Fix event filtering for ui events (#4401 )
* Move events to new directory and rename Ui events base (#4400 )
* Move events to new directory and rename Ui events base
* Add missing fromJson implementation for click event (#4410 )
* Adding serialization tests for events
* Zoom controls event (#4407 )
* Refactor zoom event
* Rename IS_UI_EVENT to isUiEvent
2020-11-04 14:43:54 -08:00
Sam El-Husseini
fba35d342c
Add missing require Blockly.constants ( #4366 )
2020-10-12 17:56:42 -04:00
Sam El-Husseini
db40e44b7c
Move Blockly.utils.dom.SvgElementType to Blockly.utils.Svg ( #4285 )
...
* Move SVGElementType to its own file shaving off 2.7KB
2020-09-16 14:42:58 -07:00
Rachel Fenichel
0951b5e613
Update eslintrc for eslint v7, and resolve new lint errors
2020-08-10 15:10:48 -07:00
Rachel Fenichel
7288c66294
Rename connectionTypeChecker->connectionChecker
2020-07-16 17:40:13 -06:00