mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
47835965bd
This commit removes Sizzle from jQuery, inlining its code & removing obsolete workarounds where applicable. The selector-native module has been removed. Further work on the selector module may decrease the size enough that it will no longer be necessary. If it turns out it's still useful, we'll reinstate it but the code will look different anyway as we'll want to share as much code as possible with the existing selector module. The Sizzle AUTHORS.txt file has been merged with the jQuery one - people are sorted by their first contributions to either of the two repositories. The commit reduces the gzipped jQuery size by 1460 bytes compared to master. Closes gh-4395
26 lines
582 B
HTML
26 lines
582 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
<title>jQuery selector - cache</title>
|
|
|
|
<script src="../../jquery.js"></script>
|
|
<script src="../iframeTest.js"></script>
|
|
<script>
|
|
document.write(
|
|
"<script>var $cached = jQuery.noConflict(true);<\x2Fscript>" +
|
|
"<script src='" + document.getElementById("jquery-js").src + "?overwrite'><\x2Fscript>"
|
|
);
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<div class="test">
|
|
<a href="#" id="collision">Worlds collide</a>
|
|
</div>
|
|
<script>
|
|
jQuery( startIframeTest );
|
|
</script>
|
|
</body>
|
|
</html>
|