Commit d2f67fb403402feadc4b54db377ffd9a8130892e
1 parent
aea85df9
components demo page update
Showing
1 changed file
with
6 additions
and
1 deletions
demo.html
@@ -517,8 +517,13 @@ | @@ -517,8 +517,13 @@ | ||
517 | } | 517 | } |
518 | datalet_code += " fields='" + JSON.stringify(DEEP.selected_fields) + "'></" + DEEP.selected_datalet + ">"; | 518 | datalet_code += " fields='" + JSON.stringify(DEEP.selected_fields) + "'></" + DEEP.selected_datalet + ">"; |
519 | 519 | ||
520 | + //'<!-- ADD THE POLYFILL TO YOUR PAGE - https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.14/webcomponents.min.js -->\n' | ||
521 | + | ||
520 | DEEP.$.code_area.innerHTML = '<textarea id="sbiricuda" style="position:relative;width: 100%;min-height: 20vh;max-height: 20vh;" style="" rows="4" cols="50" autofocus="false">' + | 522 | DEEP.$.code_area.innerHTML = '<textarea id="sbiricuda" style="position:relative;width: 100%;min-height: 20vh;max-height: 20vh;" style="" rows="4" cols="50" autofocus="false">' + |
521 | - '<!-- ADD THE POLYFILL TO YOUR PAGE - https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.14/webcomponents.min.js -->\n' + datalet_code + | 523 | + '\<script type="text/javascript" src="https://cdn.jsdelivr.net/webcomponentsjs/0.7.16/webcomponents-lite.min.js"\>\<\/script\>\n' + |
524 | + '\<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"\>\<\/script\>\n' + | ||
525 | + '<!-- REMOVE THE PREVIOUS SCRIPT TAGS IF YOUR PAGE ALREADY USES JQUERY AND POLYFILL LIBRARIES -->\n' | ||
526 | + + datalet_code + | ||
522 | '</textarea>'; | 527 | '</textarea>'; |
523 | 528 | ||
524 | editAreaLoader.init({ | 529 | editAreaLoader.init({ |