-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into auto-pull
- Loading branch information
Showing
92 changed files
with
699 additions
and
469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: mam | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- '.github/workflows/mam.yml' | ||
- 'build/**' | ||
pull_request: | ||
schedule: | ||
- cron: "0 7 * * *" | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: hyoo-ru/mam_build@master2 | ||
with: | ||
package: mol | ||
modules: build | ||
- uses: JS-DevTools/npm-publish@v1 | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
with: | ||
token: ${{ secrets.NPM_AUTH_TOKEN }} | ||
package: ./mol/build/-/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
$mol_assert_demo $mol_example_code | ||
code? \ | ||
\$mol_assert_unique( 1 , 2 , 3 ) | ||
\$mol_assert_equal( 1 , 1 , 1 ) | ||
\$mol_assert_like( [1] , [1] , [1] ) | ||
\$mol_assert_like( { a: 1 } , { a: 1 } , { a: 1 } ) | ||
\$mol_assert_unique( [1], [2], [3] ) | ||
\$mol_assert_equal( [7] , [7], [7] ) | ||
\$mol_assert_fail( ()=> { throw Error( 'test' ) }, 'test' ) | ||
\$mol_assert_fail( ()=> { throw RangeError( 'test' ) }, RangeError ) | ||
aspects / | ||
\Algorithm/Assert | ||
\Testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace $ { | ||
export class $mol_audio_context extends $mol_object2 { | ||
@ $mol_memo.method | ||
static context() { | ||
const AudioContext = this.$.$mol_dom_context.AudioContext || this.$.$node['web-audio-api'].AudioContext | ||
return new AudioContext() | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace $ { | ||
|
||
export class $mol_audio_gain extends $mol_audio_node { | ||
|
||
@ $mol_mem | ||
override node_raw() { return this.context().createGain() } | ||
|
||
@ $mol_mem | ||
override node() { | ||
const node = super.node() | ||
node.gain.setValueAtTime( this.gain(), this.time() ) | ||
return node | ||
} | ||
|
||
@ $mol_mem | ||
gain( next = 1 ) { return next } | ||
|
||
} | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.