|
|
@ -22,19 +22,19 @@ |
|
|
|
div.setAttributeNode(att); |
|
|
|
|
|
|
|
var speed = document.createAttribute( "speed" ); |
|
|
|
att.value = 2 ; |
|
|
|
speed.value = 2 ; |
|
|
|
div.setAttributeNode(speed); |
|
|
|
|
|
|
|
var author = document.createAttribute( "author" ); |
|
|
|
att.value = 'swarmlab.io' ; |
|
|
|
author.value = 'swarmlab.io' ; |
|
|
|
div.setAttributeNode(author); |
|
|
|
|
|
|
|
var authorurl = document.createAttribute( "author-url" ); |
|
|
|
att.value = 'http://www.swarmlab.io' ; |
|
|
|
authorurl.value = 'http://www.swarmlab.io' ; |
|
|
|
div.setAttributeNode(authorurl); |
|
|
|
|
|
|
|
var theme = document.createAttribute( "theme" ); |
|
|
|
att.value = 'monokai' ; |
|
|
|
theme.value = 'monokai' ; |
|
|
|
div.setAttributeNode(theme); |
|
|
|
|
|
|
|
</script> |
|
|
|