Aaron Dodson
0e6258ca1a
Migrated to inline exports
2021-07-21 08:17:13 -07:00
kozbial
f63bf29b76
clang-format core/utils/colour.js
2021-07-15 07:03:08 -07:00
kozbial
8abfa3d888
Migrate core/utils/colour.js to goog.module
2021-07-15 07:03:08 -07:00
kozbial
426c741e90
Migrate core/utils/colour.js to ES6 const/let
2021-07-15 07:03:08 -07:00
Neil Fraser
d919b0af21
Update JSDoc from Array.<> to Array<>
...
Same with Object.
2021-05-27 21:30:26 -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
Rachel Fenichel
17fa526e0e
Merge pull request #3315 from shakao/hex
...
Handle 0x hex values in color parsing
2019-12-11 14:00:03 -08:00
Sam El-Husseini
43224afbf7
Move parseBlockColour into Blockly.utils ( #3399 )
...
* Move parseBlockColour into utils and add missing require.
2019-11-04 22:39:18 -08:00
Shannon Kao
ef28386356
Update jsdoc and parameter to reflect additional colour parsing
2019-11-01 15:06:35 -07:00
Rachel Fenichel
46fad66ab1
Review feedback.
2019-10-30 15:58:53 -07:00
Rachel Fenichel
5ef08fc0d4
Switch to using the style object in the path object.
2019-10-30 14:47:23 -07:00
Rachel Fenichel
ca1e49bf8e
Fields now go through blockSvg for colours.
2019-10-30 14:43:42 -07:00
Rachel Fenichel
6f520335ea
Cleanup of colouring code, and move it into path_object.
2019-10-30 14:42:13 -07:00
Sam El-Husseini
18fea2adb3
Fix 8 warnings related to utils. ( #3294 )
2019-10-22 14:28:17 -04:00
Shannon Kao
b977280566
Handle 0x hex values in color parsing
2019-10-22 11:15:05 -07:00
Neil Fraser
01b6992efd
Normalize to one spelling of color/colour.
2019-10-16 09:46:47 -07: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
d1a29739d8
Move utilities into own directory.
...
TODO: There are more functions which may be migrated into dom and string.
2019-06-07 10:32:57 -07:00