Merge branch 'main' of github.com:yaxu/strudel into main

This commit is contained in:
alex 2022-02-02 13:47:42 +00:00
commit 3a8c1d103c
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<script>import("strudel.js").then(m => strudel = m)
<script>import("./strudel.js").then(m => strudel = m)
</script>
<html>
<head>
@ -9,6 +9,6 @@
<button onclick="foo()">hello</button>
<button onclick="bar()">hello</button>
<script type="module" src="strudel.js"></script>
<script type="module" src="./strudel.js"></script>
</body>
</html>

View File

@ -2,7 +2,7 @@ import Fraction from 'fraction.js'
import { strict as assert } from 'assert';
import {TimeSpan, Hap, Pattern, pure, stack, fastcat, slowcat, cat, sequence} from "../js/strudel.mjs";
import {TimeSpan, Hap, Pattern, pure, stack, fastcat, slowcat, cat, sequence} from "../strudel.mjs";
describe('TimeSpan', function() {
describe('equals()', function() {
@ -125,4 +125,4 @@ describe('Pattern', function() {
assert.deepStrictEqual(sequence(1,2,3).firstCycle, fastcat([pure(1), pure(2), pure(3)]).firstCycle)
})
})
})
})