]> source.dussan.org Git - jquery-ui.git/commitdiff
selectable test cleanup: border and margin helpers were never used, missing semicolon...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 15 Sep 2009 08:39:11 +0000 (08:39 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 15 Sep 2009 08:39:11 +0000 (08:39 +0000)
tests/unit/selectable/selectable_core.js

index d7f716e5da03e2cfe9aceff085d82a0c4df8c9c2..18ea3a30216c57beb5740ca760fcaabca688d30d 100644 (file)
@@ -12,18 +12,5 @@ var drag = function(dx, dy) {
        pos.clientY += dy;
        $(document).simulate("mousemove", pos);
        $(document).simulate("mouseup", pos);
-}
+};
 
-var border = function(el, side) { return parseInt(el.css('border-' + side + '-width')); }
-
-var margin = function(el, side) { return parseInt(el.css('margin-' + side)); }
-
-(function($) {
-
-module("selectable: core");
-
-test("testname", function() {
-       ok(false, "missing test - untested code is broken code.");
-});
-
-})(jQuery);