Dependent gliders: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 9: Line 9:
brd.addHook(function() {
brd.addHook(function() {
     var o;
     var o;
     if (typeof brd.touches != 'undefined && brd.touches.length>0) {
     if (typeof brd.touches != 'undefined' && brd.touches.length>0) {
       o = brd.touches[0].obj;
       o = brd.touches[0].obj;
     } else if (typeof brd.mouse.obj != 'undefined') {
     } else if (typeof brd.mouse.obj != 'undefined') {

Revision as of 20:56, 10 January 2012