Skip to content
Permalink
Browse files

Ensure both height and width port functions exist before attempting t…

…o run dimensions tests.

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
  • Loading branch information...
rwaldron committed Jun 6, 2012
1 parent 4dcd7dd commit f5d2bc4db14bba1621a2e1a4baf171acfc9add1a
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/dimensions.js
@@ -1,4 +1,4 @@
if( jQuery.fn.width ) {
if ( jQuery.fn.width && jQuery.fn.height ) {

module("dimensions", { teardown: moduleTeardown });

0 comments on commit f5d2bc4

Please sign in to comment.
You can’t perform that action at this time.