Skip to content

Commit

Permalink
Fix for Hermes.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jazz-soft committed Apr 12, 2023
1 parent 9a0c9b6 commit 13e7d82
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
13 changes: 12 additions & 1 deletion README.md
Expand Up @@ -51,7 +51,18 @@ or `node karaoke.js filename.kar`
```js
var JZZ = require('jzz');
require('jzz-midi-smf')(JZZ);
require('jzz-gui-player')(JZZ);
require('jzz-gui-karaoke')(JZZ);
//...
```

##### TypeScript / ES6

```ts
import { JZZ } from 'jzz';
import { SMF } from 'jzz-midi-smf';
import { Karaoke } from 'jzz-gui-karaoke';
SMF(JZZ);
Karaoke(JZZ);
//...
```

Expand Down
1 change: 1 addition & 0 deletions javascript/JZZ.gui.Karaoke.js
@@ -1,5 +1,6 @@
(function(global, factory) {
if (typeof exports === 'object' && typeof module !== 'undefined') {
factory.Karaoke = factory;
module.exports = factory;
}
else if (typeof define === 'function' && define.amd) {
Expand Down
2 changes: 1 addition & 1 deletion minified/JZZ.gui.Karaoke.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "jzz-gui-karaoke",
"version": "1.2.6",
"version": "1.2.7",
"description": "Karaoke MIDI Player",
"main": "javascript/JZZ.gui.Karaoke.js",
"scripts": {
Expand All @@ -16,17 +16,17 @@
],
"author": "jazz-soft (https://jazz-soft.net/)",
"dependencies": {
"jzz": "^1.6.0",
"jzz-midi-smf": "^1.7.2"
"jzz": "^1.6.1",
"jzz-midi-smf": "^1.7.3"
},
"devDependencies": {
"eslint": "^8.36.0",
"eslint": "^8.38.0",
"grunt": "^1.6.1",
"grunt-contrib-jshint": "^3.2.0",
"grunt-contrib-uglify": "^5.2.2",
"jsdom": "^21.1.1",
"jzz-gui-player": "^1.6.2",
"jzz-synth-tiny": "^1.3.4",
"jzz-gui-player": "^1.6.3",
"jzz-synth-tiny": "^1.3.5",
"mocha": "^10.2.0",
"nyc": "^15.1.0"
},
Expand Down

0 comments on commit 13e7d82

Please sign in to comment.