Skip to content

Commit

Permalink
Ensure both height and width port functions exist before attempting t…
Browse files Browse the repository at this point in the history
…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 f5d2bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/dimensions.js
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
if( jQuery.fn.width ) { if ( jQuery.fn.width && jQuery.fn.height ) {


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


Expand Down

0 comments on commit f5d2bc4

Please sign in to comment.