Commit 39b76991ddc10f712beb15f14b631cc5782f61aa
1 parent
db65a851
datalet creator
Showing
1 changed file
with
2 additions
and
2 deletions
demo.html
... | ... | @@ -36,13 +36,13 @@ |
36 | 36 | for (var property in e.detail.data.params) { |
37 | 37 | if (e.detail.data.params.hasOwnProperty(property)) { |
38 | 38 | if(property != "_colorIndex") |
39 | - dataletHTML += ' ' + property + '="' + e.detail.data.params[property] + '"'; | |
39 | + dataletHTML += ' ' + property + '=\'' + e.detail.data.params[property] + '\''; | |
40 | 40 | } |
41 | 41 | } |
42 | 42 | |
43 | 43 | dataletHTML += ' fields=\'' + JSON.stringify(e.detail.data.fields) + '\''; |
44 | 44 | //dataletHTML += ' data=\'' + e.detail.data.staticData + '\'>'; |
45 | - dataletHTML += '\'>'; | |
45 | + dataletHTML += '>'; | |
46 | 46 | dataletHTML += '</'+e.detail.data.datalet+'>'; |
47 | 47 | |
48 | 48 | var dataletImport = '\<script type="text/javascript" src="https://cdn.jsdelivr.net/webcomponentsjs/0.7.16/webcomponents-lite.min.js"\>\<\/script\>\n' + | ... | ... |