generalized addBlockCodeExample

chemistry_example
Fabien Benetou 2 years ago
parent 1f8026d89c
commit a28612d4b7
  1. 4
      index.html

@ -2091,8 +2091,8 @@ function addCompoundPrimitiveExample(position="0 1.4 -0.2"){
return el
}
function addBlockCodeExample(){
el = addNewNote("hi")
function addBlockCodeExample(text="hi"){
el = addNewNote( text )
el.setAttribute("color", "black")
el.setAttribute("outline-color", "white")
a = generateCompoundPrimitiveExample()

Loading…
Cancel
Save