aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/offset.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-06-07 11:24:35 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-06-07 11:24:35 -0400
commitc68ab270fa8269d8b1f3360fc8ed290ba6f0e9a8 (patch)
tree5e4aa2216b3c00199cc8557612331849eefbc5e4 /test/unit/offset.js
parentc80bc227280e9708dc9c3613ece9397f55f382ed (diff)
downloadjquery-c68ab270fa8269d8b1f3360fc8ed290ba6f0e9a8.tar.gz
jquery-c68ab270fa8269d8b1f3360fc8ed290ba6f0e9a8.zip
Modularize offset (exclude w/ grunt build:*:*:-offset). Closes #813. Fixes #11865
Diffstat (limited to 'test/unit/offset.js')
-rw-r--r--test/unit/offset.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/offset.js b/test/unit/offset.js
index 750228281..f3f93bace 100644
--- a/test/unit/offset.js
+++ b/test/unit/offset.js
@@ -1,3 +1,5 @@
+if ( jQuery.fn.offset ) {
+
module("offset", { teardown: moduleTeardown });
test("disconnected node", function() {
@@ -475,3 +477,5 @@ test("fractions (see #7730 and #7885)", function() {
div.remove();
});
+
+}