diff --git a/CHANGELOG.md b/CHANGELOG.md index ccc630b..47c7fc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## v5.0.2 (2018-07-08) +- Fix: UMD dist for browsers. + ## v5.0.1 (2018-07-08) - UMD dist transpiled to ES5 - Different mu-Law algorithm; should sound the same. diff --git a/dist/alawmulaw.umd.js b/dist/alawmulaw.umd.js index d6ba060..21e21e9 100644 --- a/dist/alawmulaw.umd.js +++ b/dist/alawmulaw.umd.js @@ -1,4 +1,4 @@ -(function (global, factory) {typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :typeof define === 'function' && define.amd ? define(['exports'], factory) :(factory((global.mulaw = {})));}(this, (function (exports) {;'use strict';Object.defineProperty(exports, '__esModule', { value: true });var alawmulaw=function(exports){/** @const @type {!Array} */ var LOG_TABLE=[1,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];/** +(function (global, factory) {typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :typeof define === 'function' && define.amd ? define(['exports'], factory) :(factory((global.alawmulaw = {})));}(this, (function (exports) {;'use strict';Object.defineProperty(exports, '__esModule', { value: true });var alawmulaw=function(exports){/** @const @type {!Array} */ var LOG_TABLE=[1,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];/** @param {number} sample @return {number} */ diff --git a/docs/index.html b/docs/index.html index 5954200..27aa42a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -459,7 +459,7 @@


- Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 08:44:07 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 15:49:29 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/docs/index.js.html b/docs/index.js.html index 12397c8..de7428f 100644 --- a/docs/index.js.html +++ b/docs/index.js.html @@ -88,7 +88,7 @@

index.js


- Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 08:44:07 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 15:49:29 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/docs/lib_alaw.js.html b/docs/lib_alaw.js.html index f4ec872..f3f826b 100644 --- a/docs/lib_alaw.js.html +++ b/docs/lib_alaw.js.html @@ -174,7 +174,7 @@

lib/alaw.js


- Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 08:44:07 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 15:49:29 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/docs/lib_mulaw.js.html b/docs/lib_mulaw.js.html index b27bc50..07cb961 100644 --- a/docs/lib_mulaw.js.html +++ b/docs/lib_mulaw.js.html @@ -196,7 +196,7 @@

lib/mulaw.js


- Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 08:44:07 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 15:49:29 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/docs/module-alawmulaw.html b/docs/module-alawmulaw.html index 110e157..2676703 100644 --- a/docs/module-alawmulaw.html +++ b/docs/module-alawmulaw.html @@ -81,7 +81,7 @@

alawmulaw


- Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 08:44:07 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 15:49:29 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/docs/module-alawmulaw_alaw.html b/docs/module-alawmulaw_alaw.html index 04e8635..a65bb76 100644 --- a/docs/module-alawmulaw_alaw.html +++ b/docs/module-alawmulaw_alaw.html @@ -762,7 +762,7 @@
Returns:

- Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 08:44:07 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 15:49:29 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/docs/module-alawmulaw_mulaw.html b/docs/module-alawmulaw_mulaw.html index 02de012..19f1149 100644 --- a/docs/module-alawmulaw_mulaw.html +++ b/docs/module-alawmulaw_mulaw.html @@ -819,7 +819,7 @@
Returns:

- Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 08:44:07 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jul 08 2018 15:49:29 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/package.json b/package.json index e6df33f..557385c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "alawmulaw", - "version": "5.0.1", + "version": "5.0.2", "description": "A-Law and mu-Law codecs in JavaScript.", "homepage": "https://github.com/rochars/alawmulaw", "author": "Rafael S. Rocha ", diff --git a/rollup.config.js b/rollup.config.js index b3aaeac..d71360d 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -28,7 +28,7 @@ let UMDBanner = '(function (global, factory) {' + "typeof module !== 'undefined' ? factory(exports) :" + "typeof define === 'function' && define.amd ? " + "define(['exports'], factory) :" + - '(factory((global.mulaw = {})));' + + '(factory((global.alawmulaw = {})));' + '}(this, (function (exports) {;' + CJSBanner; let UMDFooter = CJSFooter + '})));'; diff --git a/test/browser.html b/test/browser.html index 4606afd..421b653 100644 --- a/test/browser.html +++ b/test/browser.html @@ -26,7 +26,7 @@

alawmulaw

- +