| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 /* 2 * selectable_core.js 3 */ 4 5 var el; 6 7 var drag = function(dx, dy) { 8 var off = el.offset(), pos = { clientX: off.left, clientY: off.top }; 9 el.simulate("mousedown", pos); 10 $(document).simulate("mousemove", pos); 11 pos.clientX += dx; 12 pos.clientY += dy; 13 $(document).simulate("mousemove", pos); 14 $(document).simulate("mouseup", pos); 15 } 16 17 var border = function(el, side) { return parseInt(el.css('border-' + side + '-width')); } 18 19 var margin = function(el, side) { return parseInt(el.css('margin-' + side)); } 20 21 (function($) { 22 23 module("selectable: core"); 24 25 test("testname", function() { 26 ok(false, "missing test - untested code is broken code."); 27 }); 28 29 })(jQuery);
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |