Skip to content

Commit

Permalink
Merge pull request #37 from bbcrd/feature-segments-ready
Browse files Browse the repository at this point in the history
Emitting a `segments.ready` event.
  • Loading branch information
Thomas Parisot committed Mar 11, 2014
2 parents a574f30 + 1eb7684 commit 1f886e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/waveform/waveform.segments.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ define([

this.init = function () {
peaks.on("waveform_zoom_displaying", self.updateSegments);

peaks.emit("segments.ready");
};

/**
Expand Down

0 comments on commit 1f886e9

Please sign in to comment.