Mercurial > hg > webaudioevaluationtool
comparison js/core.js @ 2484:83c1352ce756
Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author | www-data <www-data@sucuk.dcs.qmul.ac.uk> |
---|---|
date | Thu, 04 Aug 2016 12:20:54 +0100 |
parents | dbe43b4ab7aa |
children | 2305ef6779fe |
comparison
equal
deleted
inserted
replaced
2478:1cc68e4ce885 | 2484:83c1352ce756 |
---|---|
414 // horizontal-sliders comes with a css file | 414 // horizontal-sliders comes with a css file |
415 var css = document.createElement('link'); | 415 var css = document.createElement('link'); |
416 css.rel = 'stylesheet'; | 416 css.rel = 'stylesheet'; |
417 css.type = 'text/css'; | 417 css.type = 'text/css'; |
418 css.href = 'interfaces/discrete.css'; | 418 css.href = 'interfaces/discrete.css'; |
419 | |
420 document.getElementsByTagName("head")[0].appendChild(css); | |
421 break; | |
422 case "timeline": | |
423 interfaceJS.setAttribute("src","interfaces/timeline.js"); | |
424 var css = document.createElement('link'); | |
425 css.rel = 'stylesheet'; | |
426 css.type = 'text/css'; | |
427 css.href = 'interfaces/timeline.css'; | |
419 | 428 |
420 document.getElementsByTagName("head")[0].appendChild(css); | 429 document.getElementsByTagName("head")[0].appendChild(css); |
421 break; | 430 break; |
422 } | 431 } |
423 document.getElementsByTagName("head")[0].appendChild(interfaceJS); | 432 document.getElementsByTagName("head")[0].appendChild(interfaceJS); |