diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-01-27 18:54:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 18:54:47 +0100 |
commit | d525ae3416417186330bb3d14133df84509803a0 (patch) | |
tree | 7f6920f6228a5d8934f539abba28f8f8ed756191 /test/data/offset/fixed.html | |
parent | 7a3cf9c03cc34d5493383852f94d96fe4a3486ef (diff) | |
download | jquery-d525ae3416417186330bb3d14133df84509803a0.tar.gz jquery-d525ae3416417186330bb3d14133df84509803a0.zip |
Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs
This commit fixes unit tests for the following builds:
1. The no-deprecated build: `custom:-deprecated`
2. The current slim build: `custom:-ajax,-effects`
3. The 4.0 (#4553) slim build: `custom:-ajax,-callbacks,-deferred,-effects`
It also adds separate Travis jobs for the no-deprecated & slim builds.
Apart from that, add intuitive names to Travis jobs. Otherwise it's hard to see
at a glance that a particular job is running on Firefox ESR, for example.
Ref gh-4577
Ref gh-4596
Closes gh-4600
Diffstat (limited to 'test/data/offset/fixed.html')
-rw-r--r-- | test/data/offset/fixed.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/data/offset/fixed.html b/test/data/offset/fixed.html index 48a2c4797..9016f87a9 100644 --- a/test/data/offset/fixed.html +++ b/test/data/offset/fixed.html @@ -15,10 +15,10 @@ <script src="../../jquery.js"></script> <script src="../iframeTest.js"></script> <script type="text/javascript" charset="utf-8"> - jQuery(function($) { - window.scrollTo(1000,1000); - $(".fixed").click(function() { - $("#marker").css( $(this).offset() ); + jQuery( function( $ ) { + window.scrollTo( 1000, 1000 ); + $( ".fixed" ).on( "click", function() { + $( "#marker" ).css( $( this ).offset() ); return false; }); startIframeTest(); |