aboutsummaryrefslogtreecommitdiffstats
path: root/tests/slider.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-06-09 05:59:18 +0000
committerRichard Worth <rdworth@gmail.com>2008-06-09 05:59:18 +0000
commit03528f2942ad52ab1bfca8810aa5ce0bfe3ba4c7 (patch)
treec2ae251d883b2b14cb81e439d3e306aa1c4e662e /tests/slider.js
parentd2397d8d63a4e5325e0d6aff0ea8fc802da7468c (diff)
downloadjquery-ui-03528f2942ad52ab1bfca8810aa5ce0bfe3ba4c7.tar.gz
jquery-ui-03528f2942ad52ab1bfca8810aa5ce0bfe3ba4c7.zip
tests - wrapped in closures so all.html will work
Diffstat (limited to 'tests/slider.js')
-rw-r--r--tests/slider.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/slider.js b/tests/slider.js
index 7b6d095a5..b13acc4a9 100644
--- a/tests/slider.js
+++ b/tests/slider.js
@@ -1,3 +1,7 @@
+/*
+ * slider unit tests
+ */
+(function($) {
var keyCodes = {
leftArrow: 37,
@@ -107,4 +111,6 @@ test("handle creation", function() {
var instance = $.data(slider[0], "slider")
equals(instance.handle.length, 2);
ok(instance.handle.jquery, "handle must be a jquery object")
-}) \ No newline at end of file
+})
+
+})(jQuery);