Skip to content
This repository
Browse code

- CHANGED: updated to version 2 of jquery.event.drag (http://threedub…

…media.com/code/event/drag)

- CHANGED:  removed the jquery.rule from build script
  • Loading branch information...
commit 53e7f50c6a131a4adbb1664da0b3c24083174afc 1 parent 40933fb
Michael Leibman authored
2  build/minimize.bat
@@ -13,7 +13,7 @@ echo Minimizing
13 13 echo ~~~~~~~~~~
14 14 call minimize.exe ../dist/slick.grid-{0}.min.js "\"slickGridVersion\"\s*:\s*\"(.*?)\"" ../slick.grid.js
15 15 echo ~~~~~~~~~~
16   -call minimize.exe ../dist/slick.grid-{0}.merged.min.js "\"slickGridVersion\"\s*:\s*\"(.*?)\"" ../lib/jquery.rule-1.0.1.1.js ../lib/jquery.event.drag.custom.js ../slick.grid.js
  16 +call minimize.exe ../dist/slick.grid-{0}.merged.min.js "\"slickGridVersion\"\s*:\s*\"(.*?)\"" ../lib/jquery.event.drag-2.0.min.js ../slick.grid.js
17 17 echo ~~~~~~~~~~
18 18
19 19 echo Cleaning up
2  examples/example1-simple.html
@@ -23,7 +23,7 @@
23 23 </table>
24 24
25 25 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
26   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  26 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
27 27
28 28 <script language="JavaScript" src="../slick.grid.js"></script>
29 29
2  examples/example10-async-post-render.html
@@ -51,7 +51,7 @@
51 51
52 52 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
53 53 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
54   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  54 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
55 55 <script language="JavaScript" src="../lib/jquery.sparkline.min.js"></script>
56 56
57 57 <script language="JavaScript" src="../slick.editors.js"></script>
2  examples/example11-autoheight.html
@@ -24,7 +24,7 @@
24 24
25 25 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
26 26 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
27   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  27 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
28 28
29 29 <script language="JavaScript" src="../slick.grid.js"></script>
30 30
2  examples/example12-fillbrowser.html
@@ -26,7 +26,7 @@
26 26 </div>
27 27
28 28 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
29   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  29 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
30 30
31 31 <script language="JavaScript" src="../slick.grid.js"></script>
32 32 <script>
2  examples/example13-getItem-sorting.html
@@ -25,7 +25,7 @@
25 25 </div>
26 26
27 27 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
28   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  28 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
29 29 <script language="JavaScript" src="../slick.grid.js"></script>
30 30
31 31 <script>
2  examples/example2-formatters.html
@@ -37,7 +37,7 @@
37 37
38 38 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
39 39 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
40   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  40 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
41 41
42 42 <script language="JavaScript" src="../slick.editors.js"></script>
43 43 <script language="JavaScript" src="../slick.grid.js"></script>
2  examples/example3-editing.html
@@ -41,7 +41,7 @@
41 41
42 42 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
43 43 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
44   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  44 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
45 45
46 46 <script language="JavaScript" src="../slick.editors.js"></script>
47 47 <script language="JavaScript" src="../slick.grid.js"></script>
2  examples/example3a-compound-editors.html
@@ -32,7 +32,7 @@
32 32
33 33 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
34 34 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
35   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  35 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
36 36
37 37 <script language="JavaScript" src="../slick.editors.js"></script>
38 38 <script language="JavaScript" src="../slick.grid.js"></script>
2  examples/example3b-editing-with-undo.html
@@ -37,7 +37,7 @@
37 37
38 38 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
39 39 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
40   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  40 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
41 41
42 42 <script language="JavaScript" src="../slick.editors.js"></script>
43 43 <script language="JavaScript" src="../slick.grid.js"></script>
2  examples/example4-model.html
@@ -86,7 +86,7 @@
86 86
87 87 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
88 88 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
89   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  89 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
90 90
91 91 <script language="JavaScript" src="../slick.editors.js"></script>
92 92 <script language="JavaScript" src="../slick.grid.js"></script>
2  examples/example5-collapsing.html
@@ -60,7 +60,7 @@
60 60
61 61 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
62 62 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
63   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  63 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
64 64
65 65 <script language="JavaScript" src="../slick.editors.js"></script>
66 66 <script language="JavaScript" src="../slick.grid.js"></script>
2  examples/example6-ajax-loading.html
@@ -58,7 +58,7 @@
58 58
59 59 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
60 60 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
61   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  61 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
62 62 <script language="JavaScript" src="../lib/jquery.jsonp-1.1.0.min.js"></script>
63 63
64 64 <script language="JavaScript" src="../slick.remotemodel.js"></script>
2  examples/example7-events.html
@@ -66,7 +66,7 @@
66 66
67 67 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
68 68 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
69   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  69 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
70 70
71 71 <script language="JavaScript" src="../slick.editors.js"></script>
72 72 <script language="JavaScript" src="../slick.grid.js"></script>
2  examples/example8-alternative-display.html
@@ -90,7 +90,7 @@
90 90 <script language="JavaScript" src="../lib/firebugx.js"></script>
91 91
92 92 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
93   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  93 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
94 94
95 95 <script language="JavaScript" src="../slick.grid.js"></script>
96 96
2  examples/example9-row-reordering.html
@@ -39,7 +39,7 @@
39 39
40 40 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
41 41 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
42   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  42 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
43 43
44 44 <script language="JavaScript" src="../slick.editors.js"></script>
45 45 <script language="JavaScript" src="../slick.grid.js"></script>
5 lib/jquery.event.drag-1.5.min.js
... ... @@ -1,5 +0,0 @@
1   -/*
2   -jquery.event.drag.js ~ v1.5 ~ Copyright (c) 2008, Three Dub Media (http://threedubmedia.com)
3   -Liscensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-LICENSE.txt
4   -*/
5   -(function(E){E.fn.drag=function(L,K,J){if(K){this.bind("dragstart",L)}if(J){this.bind("dragend",J)}return !L?this.trigger("drag"):this.bind("drag",K?K:L)};var A=E.event,B=A.special,F=B.drag={not:":input",distance:0,which:1,dragging:false,setup:function(J){J=E.extend({distance:F.distance,which:F.which,not:F.not},J||{});J.distance=I(J.distance);A.add(this,"mousedown",H,J);if(this.attachEvent){this.attachEvent("ondragstart",D)}},teardown:function(){A.remove(this,"mousedown",H);if(this===F.dragging){F.dragging=F.proxy=false}G(this,true);if(this.detachEvent){this.detachEvent("ondragstart",D)}}};B.dragstart=B.dragend={setup:function(){},teardown:function(){}};function H(L){var K=this,J,M=L.data||{};if(M.elem){K=L.dragTarget=M.elem;L.dragProxy=F.proxy||K;L.cursorOffsetX=M.pageX-M.left;L.cursorOffsetY=M.pageY-M.top;L.offsetX=L.pageX-L.cursorOffsetX;L.offsetY=L.pageY-L.cursorOffsetY}else{if(F.dragging||(M.which>0&&L.which!=M.which)||E(L.target).is(M.not)){return }}switch(L.type){case"mousedown":E.extend(M,E(K).offset(),{elem:K,target:L.target,pageX:L.pageX,pageY:L.pageY});A.add(document,"mousemove mouseup",H,M);G(K,false);F.dragging=null;return false;case !F.dragging&&"mousemove":if(I(L.pageX-M.pageX)+I(L.pageY-M.pageY)<M.distance){break}L.target=M.target;J=C(L,"dragstart",K);if(J!==false){F.dragging=K;F.proxy=L.dragProxy=E(J||K)[0]}case"mousemove":if(F.dragging){J=C(L,"drag",K);if(B.drop){B.drop.allowed=(J!==false);B.drop.handler(L)}if(J!==false){break}L.type="mouseup"}case"mouseup":A.remove(document,"mousemove mouseup",H);if(F.dragging){if(B.drop){B.drop.handler(L)}C(L,"dragend",K)}G(K,true);F.dragging=F.proxy=M.elem=false;break}return true}function C(M,K,L){M.type=K;var J=E.event.handle.call(L,M);return J===false?false:J||M.result}function I(J){return Math.pow(J,2)}function D(){return(F.dragging===false)}function G(K,J){if(!K){return }K.unselectable=J?"off":"on";K.onselectstart=function(){return J};if(K.style){K.style.MozUserSelect=J?"":"none"}}})(jQuery);
6 lib/jquery.event.drag-2.0.min.js
... ... @@ -0,0 +1,6 @@
  1 +/*!
  2 + * jquery.event.drag - v 2.0.0
  3 + * Copyright (c) 2010 Three Dub Media - http://threedubmedia.com
  4 + * Open Source MIT License - http://threedubmedia.com/code/license
  5 + */
  6 +;(function(f){f.fn.drag=function(b,a,d){var e=typeof b=="string"?b:"",k=f.isFunction(b)?b:f.isFunction(a)?a:null;if(e.indexOf("drag")!==0)e="drag"+e;d=(b==k?a:d)||{};return k?this.bind(e,d,k):this.trigger(e)};var i=f.event,h=i.special,c=h.drag={defaults:{which:1,distance:0,not:":input",handle:null,relative:false,drop:true,click:false},datakey:"dragdata",livekey:"livedrag",add:function(b){var a=f.data(this,c.datakey),d=b.data||{};a.related+=1;if(!a.live&&b.selector){a.live=true;i.add(this,"draginit."+ c.livekey,c.delegate)}f.each(c.defaults,function(e){if(d[e]!==undefined)a[e]=d[e]})},remove:function(){f.data(this,c.datakey).related-=1},setup:function(){if(!f.data(this,c.datakey)){var b=f.extend({related:0},c.defaults);f.data(this,c.datakey,b);i.add(this,"mousedown",c.init,b);this.attachEvent&&this.attachEvent("ondragstart",c.dontstart)}},teardown:function(){if(!f.data(this,c.datakey).related){f.removeData(this,c.datakey);i.remove(this,"mousedown",c.init);i.remove(this,"draginit",c.delegate);c.textselect(true); this.detachEvent&&this.detachEvent("ondragstart",c.dontstart)}},init:function(b){var a=b.data,d;if(!(a.which>0&&b.which!=a.which))if(!f(b.target).is(a.not))if(!(a.handle&&!f(b.target).closest(a.handle,b.currentTarget).length)){a.propagates=1;a.interactions=[c.interaction(this,a)];a.target=b.target;a.pageX=b.pageX;a.pageY=b.pageY;a.dragging=null;d=c.hijack(b,"draginit",a);if(a.propagates){if((d=c.flatten(d))&&d.length){a.interactions=[];f.each(d,function(){a.interactions.push(c.interaction(this,a))})}a.propagates= a.interactions.length;a.drop!==false&&h.drop&&h.drop.handler(b,a);c.textselect(false);i.add(document,"mousemove mouseup",c.handler,a);return false}}},interaction:function(b,a){return{drag:b,callback:new c.callback,droppable:[],offset:f(b)[a.relative?"position":"offset"]()||{top:0,left:0}}},handler:function(b){var a=b.data;switch(b.type){case !a.dragging&&"mousemove":if(Math.pow(b.pageX-a.pageX,2)+Math.pow(b.pageY-a.pageY,2)<Math.pow(a.distance,2))break;b.target=a.target;c.hijack(b,"dragstart",a); if(a.propagates)a.dragging=true;case "mousemove":if(a.dragging){c.hijack(b,"drag",a);if(a.propagates){a.drop!==false&&h.drop&&h.drop.handler(b,a);break}b.type="mouseup"}case "mouseup":i.remove(document,"mousemove mouseup",c.handler);if(a.dragging){a.drop!==false&&h.drop&&h.drop.handler(b,a);c.hijack(b,"dragend",a)}c.textselect(true);if(a.click===false&&a.dragging){jQuery.event.triggered=true;setTimeout(function(){jQuery.event.triggered=false},20);a.dragging=false}break}},delegate:function(b){var a= [],d,e=f.data(this,"events")||{};f.each(e.live||[],function(k,j){if(j.preType.indexOf("drag")===0)if(d=f(b.target).closest(j.selector,b.currentTarget)[0]){i.add(d,j.origType+"."+c.livekey,j.origHandler,j.data);f.inArray(d,a)<0&&a.push(d)}});if(!a.length)return false;return f(a).bind("dragend."+c.livekey,function(){i.remove(this,"."+c.livekey)})},hijack:function(b,a,d,e,k){if(d){var j={event:b.originalEvent,type:b.type},n=a.indexOf("drop")?"drag":"drop",l,o=e||0,g,m;e=!isNaN(e)?e:d.interactions.length; b.type=a;b.originalEvent=null;d.results=[];do if(g=d.interactions[o])if(!(a!=="dragend"&&g.cancelled)){m=c.properties(b,d,g);g.results=[];f(k||g[n]||d.droppable).each(function(q,p){l=(m.target=p)?i.handle.call(p,b,m):null;if(l===false){if(n=="drag"){g.cancelled=true;d.propagates-=1}if(a=="drop")g[n][q]=null}else if(a=="dropinit")g.droppable.push(c.element(l)||p);if(a=="dragstart")g.proxy=f(c.element(l)||g.drag)[0];g.results.push(l);delete b.result;if(a!=="dropinit")return l});d.results[o]=c.flatten(g.results); if(a=="dropinit")g.droppable=c.flatten(g.droppable);a=="dragstart"&&!g.cancelled&&m.update()}while(++o<e);b.type=j.type;b.originalEvent=j.event;return c.flatten(d.results)}},properties:function(b,a,d){var e=d.callback;e.drag=d.drag;e.proxy=d.proxy||d.drag;e.startX=a.pageX;e.startY=a.pageY;e.deltaX=b.pageX-a.pageX;e.deltaY=b.pageY-a.pageY;e.originalX=d.offset.left;e.originalY=d.offset.top;e.offsetX=b.pageX-(a.pageX-e.originalX);e.offsetY=b.pageY-(a.pageY-e.originalY);e.drop=c.flatten((d.drop||[]).slice()); e.available=c.flatten((d.droppable||[]).slice());return e},element:function(b){if(b&&(b.jquery||b.nodeType==1))return b},flatten:function(b){return f.map(b,function(a){return a&&a.jquery?f.makeArray(a):a&&a.length?c.flatten(a):a})},textselect:function(b){f(document)[b?"unbind":"bind"]("selectstart",c.dontstart).attr("unselectable",b?"off":"on").css("MozUserSelect",b?"":"none")},dontstart:function(){return false},callback:function(){}};c.callback.prototype={update:function(){h.drop&&this.available.length&& f.each(this.available,function(b){h.drop.locate(this,b)})}};h.draginit=h.dragstart=h.dragend=c})(jQuery);
50 slick.grid.js
@@ -601,7 +601,7 @@ if (!jQuery.fn.drag) {
601 601 $col = $(e);
602 602 $("<div class='slick-resizable-handle' />")
603 603 .appendTo(e)
604   - .bind("dragstart", function(e) {
  604 + .bind("dragstart", function(e,dd) {
605 605 if (!options.editorLock.commitCurrentEdit()) { return false; }
606 606 pageX = e.pageX;
607 607 $(this).parent().addClass("slick-header-column-active");
@@ -651,7 +651,7 @@ if (!jQuery.fn.drag) {
651 651 minPageX = pageX - Math.min(shrinkLeewayOnLeft, stretchLeewayOnRight);
652 652 originalCanvasWidth = $canvas.width();
653 653 })
654   - .bind("drag", function(e) {
  654 + .bind("drag", function(e,dd) {
655 655 var actualMinWidth, d = Math.min(maxPageX, Math.max(minPageX, e.pageX)) - pageX, x, ci;
656 656 if (d < 0) { // shrink column
657 657 x = d;
@@ -723,7 +723,7 @@ if (!jQuery.fn.drag) {
723 723 }
724 724 }
725 725 })
726   - .bind("dragend", function(e) {
  726 + .bind("dragend", function(e,dd) {
727 727 var newWidth;
728 728 $(this).parent().removeClass("slick-header-column-active");
729 729 for (j = 0; j < columnElements.length; j++) {
@@ -752,66 +752,60 @@ if (!jQuery.fn.drag) {
752 752
753 753 function setupRowReordering() {
754 754 $canvas
755   - .bind("beforedragstart", function(e) {
  755 + .bind("draginit", function(e,dd) {
756 756 var $cell = $(e.target).closest(".slick-cell");
757 757 if ($cell.length === 0) { return false; }
758 758 if (parseInt($cell.parent().attr("row"), 10) >= gridDataGetLength()) { return false; }
759 759 var colDef = columns[getSiblingIndex($cell[0])];
760 760 if (colDef.behavior !== "move" && colDef.behavior !== "selectAndMove") { return false; }
761 761 })
762   - .bind("dragstart", function(e) {
  762 + .bind("dragstart", function(e,dd) {
763 763 if (!options.editorLock.commitCurrentEdit()) { return false; }
764   -
765 764 var row = parseInt($(e.target).closest(".slick-row").attr("row"), 10);
766 765
767 766 if (!selectedRowsLookup[row]) {
768 767 setSelectedRows([row]);
769 768 }
770 769
771   - var $selectionProxy = $("<div class='slick-reorder-proxy'/>");
772   - $selectionProxy
  770 + dd.selectionProxy = $("<div class='slick-reorder-proxy'/>")
773 771 .css("position", "absolute")
774 772 .css("zIndex", "99999")
775 773 .css("width", $(this).innerWidth())
776 774 .css("height", options.rowHeight*selectedRows.length)
777 775 .appendTo($viewport);
778 776
779   - $(this)
780   - .data("selectionProxy", $selectionProxy)
781   - .data("insertBefore", -1);
782   -
783   - var $guide = $("<div class='slick-reorder-guide'/>");
784   - $guide
  777 + dd.guide = $("<div class='slick-reorder-guide'/>")
785 778 .css("position", "absolute")
786 779 .css("zIndex", "99998")
787 780 .css("width", $(this).innerWidth())
788 781 .css("top", -1000)
789 782 .appendTo($viewport);
790 783
791   - return $guide;
  784 + dd.insertBefore = -1;
792 785 })
793   - .bind("drag", function(e) {
  786 + .bind("drag", function(e,dd) {
794 787 var top = e.clientY - $(this).offset().top;
795   - $(this).data("selectionProxy").css("top",top-5);
  788 + dd.selectionProxy.css("top",top-5);
796 789
797 790 var insertBefore = Math.max(0,Math.min(Math.round(top/options.rowHeight),gridDataGetLength()));
798   - if (insertBefore !== $(this).data("insertBefore")) {
  791 + if (insertBefore !== dd.insertBefore) {
799 792 if (self.onBeforeMoveRows && self.onBeforeMoveRows(getSelectedRows(),insertBefore) === false) {
800   - $(e.dragProxy).css("top", -1000).data("canMove",false);
  793 + dd.guide.css("top", -1000);
  794 + dd.canMove = false;
801 795 }
802 796 else {
803   - $(e.dragProxy).css("top",insertBefore*options.rowHeight).data("canMove",true);
  797 + dd.guide.css("top",insertBefore*options.rowHeight);
  798 + dd.canMove = true;
804 799 }
805   - $(this).data("insertBefore", insertBefore);
  800 + dd.insertBefore = insertBefore;
806 801 }
807 802 })
808   - .bind("dragend", function(e) {
809   - var canMove = $(e.dragProxy).data("canMove");
810   - $(e.dragProxy).remove();
811   - $(this).data("selectionProxy").remove();
812   - var insertBefore = $(this).data("insertBefore");
813   - $(this).removeData("selectionProxy").removeData("insertBefore");
814   - if (self.onMoveRows && canMove) { self.onMoveRows(getSelectedRows(),insertBefore); }
  803 + .bind("dragend", function(e,dd) {
  804 + dd.guide.remove();
  805 + dd.selectionProxy.remove();
  806 + if (self.onMoveRows && dd.canMove) {
  807 + self.onMoveRows(getSelectedRows(),dd.insertBefore);
  808 + }
815 809 });
816 810 }
817 811
2  tests/grid/index.html
@@ -23,7 +23,7 @@ <h2 id="qunit-userAgent"></h2>
23 23 <script type="text/javascript" src="../../lib/qunit.js"></script>
24 24 <script type="text/javascript" src="../../lib/jquery-1.4.2.min.js"></script>
25 25 <script type="text/javascript" src="../../lib/jquery-ui-1.8.2.custom.min.js"></script>
26   -<script type="text/javascript" src="../../lib/jquery.event.drag.custom.js"></script>
  26 +<script type="text/javascript" src="../../lib/jquery.event.drag-2.0.min.js"></script>
27 27 <script type="text/javascript" src="../../lib/jquery.simulate.js"></script>
28 28 <script type="text/javascript" src="../../lib/qunit.js"></script>
29 29 <script type="text/javascript">
2  tests/scrolling benchmarks.html
@@ -20,7 +20,7 @@
20 20 <script language="JavaScript" src="../lib/firebugx.js"></script>
21 21 <script language="JavaScript" src="../lib/jquery-1.4.2.min.js"></script>
22 22 <script language="JavaScript" src="../lib/jquery-ui-1.8.2.custom.min.js"></script>
23   - <script language="JavaScript" src="../lib/jquery.event.drag.custom.js"></script>
  23 + <script language="JavaScript" src="../lib/jquery.event.drag-2.0.min.js"></script>
24 24
25 25 <script language="JavaScript" src="../slick.grid.js"></script>
26 26 <script language="JavaScript" src="../slick.editors.js"></script>

0 comments on commit 53e7f50

Please sign in to comment.
Something went wrong with that request. Please try again.