Skip to content

Commit

Permalink
Local webaudio-controls import adjusted
Browse files Browse the repository at this point in the history
- It couldn't be bundled as it wasn't a module
- So it had to be moved to /public
  • Loading branch information
Mangoshi committed Apr 21, 2023
1 parent 01d27a7 commit 7063a6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
sliderHeight:70,
};
</script>
<script src="src/webaudio-controls.js"></script>
<script src="./webaudio-controls.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js" integrity="sha512-STof4xm1wgkfm7heWqFJVn58Hm3EtS31XFaagaa8VMReCXAkQnJZ+jEy8PCC/iT18dFy95WcExNHFTqLyp72eQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/p5.min.js" integrity="sha512-3RlxD1bW34eFKPwj9gUXEWtdSMC59QqIqHnD8O/NoTwSJhgxRizdcFVQhUMFyTp5RwLTDL0Lbcqtl8b7bFAzog==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<title>MS24</title>
Expand Down
5 changes: 5 additions & 0 deletions src/webaudio-controls.js → public/webaudio-controls.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/* *
*
* WebAudio-Controls is based on
Expand All @@ -21,6 +22,10 @@
* limitations under the License.
*
* */

// EDITED BY: Seán Óg Durack Monks (Mangoshi)
// EDITS MADE: Keydown logic has been commented-out, as it conflicts with the keydown logic of the main app.

if(window.customElements){
let styles=document.createElement("style");
styles.innerHTML=
Expand Down

0 comments on commit 7063a6c

Please sign in to comment.