[DO NOT MERGE] Upgrade jQuery to 1.12.4 (take 2) #878

Open
wants to merge 2 commits into
from

Projects

None yet

1 participant

@fofr
Member
fofr commented Jan 10, 2017

Same as #869 but with added fix for jquery tabs.

Performance of the selector engine has improved thanks to a shortcut path that immediately uses precompiled Sizzle selectors when the selector cannot be processed by the native querySelectorAll or matchesSelector methods. This results in a significant speedup in some real-world cases.

Release notes:
https://blog.jquery.com/2016/01/08/jquery-2-2-and-1-12-released/
https://blog.jquery.com/2016/02/22/jquery-1-12-1-and-2-2-1-released/
https://blog.jquery.com/2016/03/17/jquery-1-12-2-and-2-2-2-released/
https://blog.jquery.com/2016/04/05/jquery-1-12-3-and-2-2-3-released/
https://blog.jquery.com/2016/05/20/jquery-1-12-4-and-2-2-4-released/

Similar to previous upgrade jQuery PR:
#628

fofr added some commits Jan 10, 2017
@fofr fofr Revert "Revert "Upgrade jQuery to 1.12.4""
This reverts commit a35c1f0.

Linting conflicts fixed in:
	test/integration/templates/chromeless_test.rb
	test/integration/templates/error_4xx_test.rb
	test/integration/templates/error_5xx_test.rb
	test/integration/templates/header_footer_only_test.rb
	test/integration/templates/homepage_test.rb
	test/integration/templates/wrapper_test.rb
	test/integration/templates/wrapper_with_js_last.rb
97b05de
@fofr fofr Wrap attribute selector query in quotes
As of jQuery 1.12 the selector `a[href$=abc]` is invalid and requires
quotes around the value part.

Fixes failing test

See:
jquery/jquery#2824
#874
19041b6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment