[canviz] r360 committed - cumulativeOffset is a prototype.js addition; we still need to use $() ...

2 views
Skip to first unread message

can...@googlecode.com

unread,
Feb 1, 2012, 8:18:09 PM2/1/12
to canviz-...@googlegroups.com
Revision: 360
Author: ryandesign.com
Date: Wed Feb 1 17:13:57 2012
Log: cumulativeOffset is a prototype.js addition; we still need to use
$() there, until we find a replacement

http://code.google.com/p/canviz/source/detail?r=360

Modified:
/path/trunk/examples/example1.js

=======================================
--- /path/trunk/examples/example1.js Wed Feb 1 17:10:07 2012
+++ /path/trunk/examples/example1.js Wed Feb 1 17:13:57 2012
@@ -204,7 +204,7 @@
paths[i].offset(0, 190);
}

- canvasOffset = canvas.cumulativeOffset();
+ canvasOffset = $(canvas).cumulativeOffset();
canvas.observe('mousemove', handleEvent);
canvas.observe('mouseout', handleEvent);

Reply all
Reply to author
Forward
0 new messages