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
Christopher Allen
a6471c4276
Rename Blockly.utils.IdGenerator to idGenerator and move Blockly.utils.genUid to there ( #5441 )
...
* Rename Blockly.utils.IdGenerator -> idGenerator
* Move genUid from Blockly.utils to Blockly.utils.idGenerator
2021-09-09 17:08:44 +01:00
Aaron Dodson
6eb8667c3c
clang-format core/variable_model.js
2021-07-29 12:55:46 -07:00
Aaron Dodson
0a6893706f
Migrate core/variable_model.js to named requires
2021-07-29 12:55:26 -07:00
Aaron Dodson
dc4a719e2f
Migrate core/variable_model.js to goog.module
2021-07-29 12:50:42 -07:00
Neil Fraser
2f2252f588
Rename variableDB_ to nameDB_
...
There is significant confusion in names and comments with regards to variables and procedures. `Blockly.Generator.prototype.variableDB_` is a Blockly.Names database, not a variable map. This rename introduces a getter and setter so deprecated references still work. This commit also fixes some comments which are either outright wrong or misleading regarding variable and procedure names.
2021-05-27 21:30:26 -07:00
Neil Fraser
dd0314bc0b
Normalize comments
2021-05-19 09:57:14 -07:00
Neil Fraser
4436e2814d
Use localeCompare’s case insensitivity option
...
Variables and procedures now sorted using local rules, not Unicode code points. Verified that ’sensitivity’ survives Closure compiler without quotes.
2021-05-19 09:57:14 -07:00
Sam El-Husseini
63d26dc186
Add extra requires check ( #4677 )
...
* Add extra requires check
2021-03-05 09:50:51 -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
Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Neil Fraser
9f528922a7
Fix some dependencies
2019-05-24 15:45:05 -07:00
Neil Fraser
f118d33855
Corrections to JSDoc comments
2019-03-29 15:24:37 -07:00
Neil Fraser
284b79407e
Require Blockly.utils where needed.
2018-07-11 12:20:02 -07:00
Neil Fraser
03bf9f5e71
Remove goog.string
2018-07-11 12:20:02 -07:00
Rachel Fenichel
4c9b602523
Move event classes into separate files, and update requires accordingly
2018-02-27 17:47:33 -08:00
Neil Fraser
4262b09002
Resolve 106 warnings.
2017-10-24 14:06:29 -07:00
marisaleung
833c2d0c40
Fire VAR events and test.
2017-06-09 14:42:14 -07:00
marisaleung
e9a480c51f
Add VAR events.
2017-06-08 15:15:17 -07:00
marisaleung
a6f85cec53
Appease eslint: semicolons and such.
2017-05-25 13:44:06 -07:00
marisaleung
6492f2988a
Assign variable UUID to field_variable dropdown.
2017-05-15 10:43:53 -07:00
marisaleung
9577e5ddc4
Created a variable model with name, id, and type.
...
Created a jsunit test file for variable model.
2017-04-20 13:19:53 -07:00