]> source.dussan.org Git - jquery.git/commitdiff
Tests: use `jQuery` variable instead of `$`
authorOleg Gaidarenko <markelog@gmail.com>
Sat, 13 Feb 2016 18:14:46 +0000 (21:14 +0300)
committerOleg Gaidarenko <markelog@gmail.com>
Sat, 13 Feb 2016 18:23:05 +0000 (21:23 +0300)
For some reason that works with `amd` but not with builded version

Fixes gh-2909

test/unit/dimensions.js

index 3bb535708c027c45707b269f590b028e0097552c..0eab218326a2b9ad0366c05e6127a57759518851 100644 (file)
@@ -514,7 +514,7 @@ QUnit.test( "outside view position (gh-2836)", function( assert ) {
        ].join( "" ),
        stop = assert.async();
 
-       parent = $( html );
+       parent = jQuery( html );
        parent.appendTo( "#qunit-fixture" );
 
        parent.one( "scroll", function() {