Skip to content

Commit

Permalink
Strict mode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jazz-soft committed Nov 14, 2018
1 parent 2256a6d commit 4e1a0ec
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ by running `npm remove midi-test --save-dev`.
##### CDN

<script src="https://cdn.jsdelivr.net/npm/jzz"></script> // the latest version, or
<script src="https://cdn.jsdelivr.net/npm/jzz@0.6.2"></script> // any particular version
<script src="https://cdn.jsdelivr.net/npm/jzz@0.6.3"></script> // any particular version
//...

##### CommonJS (Browserify and Node.js command line applications)
Expand Down
14 changes: 7 additions & 7 deletions javascript/JZZ.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
})(this, function() {

var _scope = typeof window === 'undefined' ? global : window;
var _version = '0.6.2';
var _version = '0.6.3';
var i, j, k, m, n;

var _time = Date.now || function () { return new Date().getTime(); };
Expand Down Expand Up @@ -663,9 +663,9 @@
_engine._version = _engine._main.version;
_engine._sysex = true;
var watcher;
_closeAll = function() {
function _closeAll() {
for (var i = 0; i < this.clients.length; i++) this._close(this.clients[i]);
};
}
_engine._refresh = function() {
_engine._outs = [];
_engine._ins = [];
Expand Down Expand Up @@ -849,9 +849,9 @@
_engine._outsW = [];
_engine._insW = [];
var watcher;
_closeAll = function() {
function _closeAll() {
for (var i = 0; i < this.clients.length; i++) this._close(this.clients[i]);
};
}
_engine._refresh = function() {
_engine._outs = [];
_engine._ins = [];
Expand Down Expand Up @@ -1014,9 +1014,9 @@
document.dispatchEvent(new CustomEvent('jazz-midi', { detail: ['refresh'] }));
}, 0);
};
_closeAll = function() {
function _closeAll() {
for (var i = 0; i < this.clients.length; i++) this._close(this.clients[i]);
};
}
_engine._openOut = function(port, name) {
var impl = _engine._outMap[name];
if (!impl) {
Expand Down
2 changes: 1 addition & 1 deletion minified/JZZ.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jzz",
"version": "0.6.2",
"version": "0.6.3",
"description": "MIDI library for Node.js and web-browsers",
"main": "javascript/JZZ.js",
"scripts": {
Expand Down

0 comments on commit 4e1a0ec

Please sign in to comment.