mirror of
https://github.com/fergalmoran/peneloplay.git
synced 2025-12-22 09:51:27 +00:00
Removed logging messages
This commit is contained in:
@@ -33,7 +33,6 @@ define(["jquery", "rxjs", "soundmanager2"], function($, rxjs, soundManager){
|
|||||||
Peneloplay = {
|
Peneloplay = {
|
||||||
|
|
||||||
_mouseDown: function (event) {
|
_mouseDown: function (event) {
|
||||||
console.log("Mouse down");
|
|
||||||
if (_player) {
|
if (_player) {
|
||||||
_player.setPosition(
|
_player.setPosition(
|
||||||
(_player.duration / 100) * ((event.pageX - bounds.waveformLeft) / bounds.waveformWidth) * 100);
|
(_player.duration / 100) * ((event.pageX - bounds.waveformLeft) / bounds.waveformWidth) * 100);
|
||||||
@@ -41,19 +40,14 @@ define(["jquery", "rxjs", "soundmanager2"], function($, rxjs, soundManager){
|
|||||||
$(event.currentTarget).mouseup($.proxy(this._mouseDown, this));
|
$(event.currentTarget).mouseup($.proxy(this._mouseDown, this));
|
||||||
},
|
},
|
||||||
_mouseMove: function (event) {
|
_mouseMove: function (event) {
|
||||||
console.log("Mouse moving");
|
|
||||||
ui.seekHead.css('left', (event.pageX));//.fadeIn('fast');
|
ui.seekHead.css('left', (event.pageX));//.fadeIn('fast');
|
||||||
},
|
},
|
||||||
_mouseLeave: function (event) {
|
_mouseLeave: function (event) {
|
||||||
console.log("Mouse leave");
|
|
||||||
ui.seekHead.hide();
|
ui.seekHead.hide();
|
||||||
ui.wrapper.unbind("mousedown");
|
ui.wrapper.unbind("mousedown");
|
||||||
ui.wrapper.unbind("mousemove");
|
ui.wrapper.unbind("mousemove");
|
||||||
},
|
},
|
||||||
_mouseEnter: function (event) {
|
_mouseEnter: function (event) {
|
||||||
console.log("Mouse enter");
|
|
||||||
|
|
||||||
//setup move and down events
|
|
||||||
ui.wrapper.mousedown($.proxy(this._mouseDown, this));
|
ui.wrapper.mousedown($.proxy(this._mouseDown, this));
|
||||||
ui.wrapper.mousemove($.proxy(this._mouseMove, this));
|
ui.wrapper.mousemove($.proxy(this._mouseMove, this));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user