Commit Graph

23 Commits

Author SHA1 Message Date
Aaron Dodson
3851b14627 refactor: Migrate to named exports (#5623)
* refactor: Migrate to named exports

* fix: Sort requires

* fix: Remove duplicate deps
2021-10-20 15:53:23 -07:00
Neil Fraser
90b3f75d82 Remove @author tags (#5601)
Our files are up to a decade old, and have churned so much, that the initial author of the file no longer has much meaning.

Furthermore, this will encourage developers to post to the developer group, rather than emailing Googlers (usually me) directly.
2021-10-15 09:50:46 -07:00
Neil Fraser
c929b3015b chore: Convert == to === and != to !== where possible. (#5599) 2021-10-15 09:17:04 -07:00
Rachel Fenichel
b25e24fd02 chore: Run clang-format on core/*.js (#5589)
* Run clang-format on core/*.js

* Revert changes for css formatting
2021-10-07 10:32:02 -07:00
Monica Kozbial
49bc2b1ae4 Replace namespace annotation with class annotation in files that define a class (#5566) 2021-09-28 15:57:09 -07:00
Monica Kozbial
d8fbe1b05b Add namespace and alias annotations to jsdoc (#5550)
* Add annotations to files under core/events

* Add annotations to files under core/interfaces

* Add annotations to files under core/keyboard_nav

* Add annotations to files under core/renderers

* Add annotations to files under core/serialization

* Add annotations to files under core/theme

* Add annotations to files under core/toolbox

* Add annotations to files under core/utils

* Add annotations to files under core
2021-09-27 14:42:54 -07:00
Aaron Dodson
e0693a65d2 chore: Remove declareLegacyNamespace() from files in core (#5525)
* chore: Remove declareLegacyNamespace() from files in core

* fix: Update missing/errant re-exports in blockly.js
2021-09-23 14:48:52 -07:00
alschmiedt
39f5b4c7cd Fixes lint warnings 2021-07-22 16:49:01 -07:00
alschmiedt
8cb794feb5 Suppress unused vars 2021-07-22 16:36:30 -07:00
alschmiedt
48ccc38cbb Fix destructuring 2021-07-22 10:42:56 -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
Neil Fraser
e661c92a36 More JSDoc improvements 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
Rachel Fenichel
1d8c234d33 Update uses of bindEvent_, bindEventWithChecks_, and unbindEvent_. Add missing requires for Blockly.browserEvents. 2021-02-23 11:23:28 -08:00
Rachel Fenichel
54c4e8de39 Rename Blockly.eventHandling->Blockly.browserEvents and replace all Blockly.EventData annotations 2021-02-22 13:23:19 -08:00
Rachel Fenichel
05ab37690e Missing requiretypes, m through r 2021-02-17 14:39:15 -08:00
Sam El-Husseini
3f4faeab46 Cleanup types under components/ (#3910)
* Fix types under components

* Fix menu
2020-05-20 16:54:53 -07:00
Sam El-Husseini
60a8eb63fe Fix contextmenu / dropdown field menu accessibility (#3892)
* Fix contextmenu and dropdown field accessibility
2020-05-08 09:22:28 -07:00
Neil Fraser
b9ce29843e Move Menu + MenuItem out of components to utils (#3893)
* Move Menu + MenuItem out of /core/components to /core

Blockly.Menu and Blockly.MenuItem no longer depend on Blockly.Component and thus should not be in /core/component.

Also delete Blockly.utils.uiMenu in the process.
2020-05-07 13:13:45 -04:00