Merge branch 'main' of github.com:yaxu/strudel into main
This commit is contained in:
commit
3a8c1d103c
2 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<script>import("strudel.js").then(m => strudel = m)
|
<script>import("./strudel.js").then(m => strudel = m)
|
||||||
</script>
|
</script>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
@ -9,6 +9,6 @@
|
||||||
<button onclick="foo()">hello</button>
|
<button onclick="foo()">hello</button>
|
||||||
<button onclick="bar()">hello</button>
|
<button onclick="bar()">hello</button>
|
||||||
|
|
||||||
<script type="module" src="strudel.js"></script>
|
<script type="module" src="./strudel.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import Fraction from 'fraction.js'
|
||||||
|
|
||||||
import { strict as assert } from 'assert';
|
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('TimeSpan', function() {
|
||||||
describe('equals()', 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)
|
assert.deepStrictEqual(sequence(1,2,3).firstCycle, fastcat([pure(1), pure(2), pure(3)]).firstCycle)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue