Commit f5d2bc4d authored by Rick Waldron's avatar Rick Waldron

Ensure both height and width port functions exist before attempting to run dimensions tests.

Signed-off-by: 's avatarRick Waldron <waldron.rick@gmail.com>
parent 4dcd7dd3
if( jQuery.fn.width ) {
if ( jQuery.fn.width && jQuery.fn.height ) {
module("dimensions", { teardown: moduleTeardown });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment