Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions raphael-zpd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
* ==================================================
*
* This code is licensed under the following BSD license:
*
*
* Copyright 2014 Huei Tan <[email protected]> (Fix setupHandlers). All rights reserved.
* Copyright 2010 Gabriel Zabusek <[email protected]> (Interface and feature extensions and modifications). All rights reserved.
* Copyright 2010 Daniel Assange <[email protected]> (Raphaël integration and extensions). All rights reserved.
* Copyright 2009-2010 Andrea Leofreddi <[email protected]> (original author). All rights reserved.
Expand Down Expand Up @@ -128,7 +129,7 @@ RaphaelZPD = function(raphaelPaper, o) {
/**
* Handler registration
*/
me.setupHandlers = function(root) {
me.setupHandlers = function() {
me.root.onmousedown = me.handleMouseDown;
me.root.onmousemove = me.handleMouseMove;
me.root.onmouseup = me.handleMouseUp;
Expand Down Expand Up @@ -315,7 +316,7 @@ RaphaelZPD = function(raphaelPaper, o) {


// end of constructor
me.setupHandlers(me.root);
me.setupHandlers();
me.initialized = true;
};

Expand Down