Commit fc5cffd75a20bf1cb855dc18d3435e58c3739ec8
Merge branch 'master' of http://service.routetopa.eu:7480/WebCompDev/COMPONENTS
Showing
1 changed file
with
1 additions
and
2 deletions
datalets/base-datalet/base-datalet.html
| @@ -326,12 +326,11 @@ Example : | @@ -326,12 +326,11 @@ Example : | ||
| 326 | '\<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"\>\<\/script\>\n' + | 326 | '\<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"\>\<\/script\>\n' + |
| 327 | '<!-- REMOVE THE PREVIOUS SCRIPT TAGS IF YOUR PAGE ALREADY USES JQUERY AND POLYFILL LIBRARIES -->\n'; | 327 | '<!-- REMOVE THE PREVIOUS SCRIPT TAGS IF YOUR PAGE ALREADY USES JQUERY AND POLYFILL LIBRARIES -->\n'; |
| 328 | 328 | ||
| 329 | - var dataletLink = '<link rel="import" href="http://deep.routetopa.eu/deep_1_7/datalets/'+parent.is+'/'+parent.is+'.html" /> \n'; | 329 | + var dataletLink = '<link rel="import" href="http://deep.routetopa.eu/deep_1_7/COMPONENTS/datalets/'+parent.is+'/'+parent.is+'.html" /> \n'; |
| 330 | 330 | ||
| 331 | window.prompt("Copy to clipboard: Ctrl+C, Enter", dataletImport+dataletLink+html); | 331 | window.prompt("Copy to clipboard: Ctrl+C, Enter", dataletImport+dataletLink+html); |
| 332 | }, | 332 | }, |
| 333 | 333 | ||
| 334 | - | ||
| 335 | exportToIMG: function () { | 334 | exportToIMG: function () { |
| 336 | var parent = this.parentElement; | 335 | var parent = this.parentElement; |
| 337 | while(!parent.hasAttribute("data-url")) | 336 | while(!parent.hasAttribute("data-url")) |