12 Commits

Author SHA1 Message Date
Sam El-Husseini
e3babee1f3 Add Blockly.utils.Metrics @record (#3913)
* Add Blockly.utils.Metrics
2020-05-21 15:03:17 -07: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
abc452109e Fix XML across Blockly. (#2727)
Also fixes references to createSvgElement
2019-07-30 15:08:47 -07:00
Neil Fraser
52b6ce18a5 Fix unit tests 2019-07-08 13:29:43 -07:00
Andrew n marshall
5c541c6f99 Setting the value of math_numnber toolbox blocks to 123. (#1773)
Using 123 as a better indicator to the user this block can represent any number,
and the user should replace this value with their own desired number.
2018-04-12 14:46:37 -07:00
Neil Fraser
8779a8c3d9 Introduce minimap to style guide. 2017-10-24 14:06:29 -07:00
Karan Purohit
619237c05d Minimap position bug fix for browsers other than chrome. Added touch support. 2017-04-02 13:31:46 +05:30
Karan Purohit
ac18e207a2 Registering mousemove and mouseup listener in mousedown event. Mousemove and Mouseup events are now listening over document. 2017-03-14 08:58:03 +05:30
Karan Purohit
4e9055a343 Adding horizontal scrolling. Changed scroll change callbacks from onScroll_ to setHandlePosition. onScroll_ is not challed when workspace is dragged. 2017-03-12 15:29:05 +05:30
Karan Purohit
f77325f289 Basic code style changes. Adding a few more comments. Return early if disableScrollChange in onScrollChange listener. 2017-03-08 10:17:38 +05:30
Karan Purohit
738d5d6669 Adding new minimap demo 2017-03-08 00:12:22 +05:30