Included code snippets are not working
yasanthaniroshan opened this issue · 1 comments
yasanthaniroshan commented
Location
Type
- Text
- Image or Gif
- Other
Suggested content
Code snippet in Docs
Blockly.colour.setHsvSaturation() // 0 (inclusive) to 1 (exclusive), defaulting to 0.45
Blockly..colour.setHsvValue() // 0 (inclusive) to 1 (exclusive), defaulting to 0.65
Description
- Code snippet given in above docs have grammer errors ("double dots")
- Given functions
setHsvSaturation()
andsetHsvValue()
not accessible
Suggestion
The code snippet should be changed as follows
Blockly.utils.colour.setHsvSaturation() // 0 (inclusive) to 1 (exclusive), defaulting to 0.45
Blockly.utils.colour.setHsvValue()// 0 (inclusive) to 1 (exclusive), defaulting to 0.65
Additional context
No response
maribethb commented
Hi, thanks for filing this issue! I've made an edit to the docs that should be live soon.