Skip to content

Commit 1608d1d

Browse files
author
yuji
committed
Add: onUpdate handle & formatting
2 parents 7951de1 + 3383623 commit 1608d1d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Simple audio waveform visualization, depends on d3.
44

5-
![screenshot](https://raw.githubusercontent.com/big-data-visualization/audio-waveform/assets/screenshot.png)
5+
![screenshot](https://raw.githubusercontent.com/big-data-visualization/audio-waveform/master/assets/screenshot.png)
66
============
77

88
## Demo

demo/js/audio_waveform.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/audio_waveform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
return that.yScale(d)
179179
}
180180
})
181-
that.onUpdate(that, that.buf)
181+
that.onUpdate.call(that, that.buf)
182182
return that
183183
}
184184

dist/audio_waveform.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/audio_waveform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ fn.updateRender = function() {
182182
return that.yScale(d)
183183
}
184184
})
185-
that.onUpdate(that, that.buf)
185+
that.onUpdate.call(that, that.buf)
186186
return that
187187
}
188188

0 commit comments

Comments
 (0)