wavesurfer.js
Advanced tools
Comparing version 1.0.22 to 1.0.23
{ | ||
"name": "wavesurfer.js", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"description": "Interactive navigable audio visualization using Web Audio and Canvas", | ||
"main": "build/wavesurfer.cjs.js", | ||
"main": "dist/wavesurfer.cjs.js", | ||
"directories": { | ||
@@ -10,5 +10,3 @@ "example": "example" | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"prepublish": "make cjs", | ||
"update": "make cjs" | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
@@ -25,5 +23,7 @@ "repository": { | ||
"devDependencies": { | ||
"uglify-js": "^2.4.0" | ||
"grunt": ">=0.4.5", | ||
"grunt-contrib-concat": ">=0.4.0", | ||
"grunt-contrib-uglify": ">=0.5.0" | ||
}, | ||
"homepage": "https://github.com/katspaugh/wavesurfer.js" | ||
} |
@@ -133,2 +133,3 @@ (function (root, factory) { | ||
if (!this.paused) { | ||
this.wavesurfer.empty(); | ||
this.wavesurfer.loadDecodedBuffer(event.inputBuffer); | ||
@@ -135,0 +136,0 @@ } |
@@ -101,3 +101,3 @@ 'use strict'; | ||
if (null != params.loop) { | ||
this.color = Boolean(params.loop); | ||
this.loop = Boolean(params.loop); | ||
} | ||
@@ -111,6 +111,6 @@ if (null != params.color) { | ||
if (null != params.resize) { | ||
this.data = Boolean(params.resize); | ||
this.resize = Boolean(params.resize); | ||
} | ||
if (null != params.drag) { | ||
this.data = Boolean(params.drag); | ||
this.drag = Boolean(params.drag); | ||
} | ||
@@ -117,0 +117,0 @@ this.updateRender(); |
@@ -351,6 +351,6 @@ /** | ||
this.getArrayBuffer(url, (function (arraybuffer) { | ||
this.decodeArrayBuffer(arraybuffer, function (buffer) { | ||
this.decodeArrayBuffer(arraybuffer, (function (buffer) { | ||
this.backend.buffer = buffer; | ||
this.drawBuffer(); | ||
}).bind(this); | ||
}).bind(this)); | ||
}).bind(this)); | ||
@@ -357,0 +357,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
60
4905739
3
28440