CINXE.COM
Core:Manipulation: Add basic TrustedHTML support · jquery/jquery@de5398a · GitHub
<!DOCTYPE html> <html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system" data-a11y-link-underlines="true" > <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com"> <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/"> <link rel="preconnect" href="https://github.githubassets.com" crossorigin> <link rel="preconnect" href="https://avatars.githubusercontent.com"> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light-3e154969b9f9.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark-9c5b7a476542.css" /><link data-color-theme="dark_dimmed" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed-afda8eb0fb33.css" /><link data-color-theme="dark_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_high_contrast-2494e44ccdc5.css" /><link data-color-theme="dark_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind-56fff47acadc.css" /><link data-color-theme="light_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind-71cd4cc132ec.css" /><link data-color-theme="light_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_high_contrast-fd5499848985.css" /><link data-color-theme="light_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia-31d17ba3e139.css" /><link data-color-theme="dark_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia-68d6b2c79663.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-primitives-4cf0d59ab51a.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-af846850481e.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-e41ff91f8baa.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/github-d3b66f11d613.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repository-1e3bbbee6b91.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/code-a0610fd00b47.css" /> <script type="application/json" id="client-env">{"locale":"en","featureFlags":["copilot_new_references_ui","copilot_beta_features_opt_in","copilot_chat_static_thread_suggestions","copilot_conversational_ux_history_refs","copilot_implicit_context","copilot_smell_icebreaker_ux","experimentation_azure_variant_endpoint","failbot_handle_non_errors","geojson_azure_maps","ghost_pilot_confidence_truncation_25","ghost_pilot_confidence_truncation_40","hovercard_accessibility","issues_react_new_timeline","issues_react_avatar_refactor","issues_react_remove_placeholders","issues_react_cache_fix_workaround","issues_react_blur_item_picker_on_close","marketing_pages_search_explore_provider","remove_child_patch","sample_network_conn_type","site_metered_billing_update","issues_react_first_time_contribution_banner","jk_navigation_in_list_view","ui_commands_respect_modals","lifecycle_label_name_updates"]}</script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/wp-runtime-118ecaabd77e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_dompurify_dist_purify_js-b73fdff77a4e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover_js-aff936e590ed.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_arianotify-polyfill_ariaNotify-polyfill_js-node_modules_github_mi-247092-740e4ddd559d.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_failbot_failbot_ts-a46544e9ee5e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/environment-cd35650c2e9c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_primer_behaviors_dist_esm_index_mjs-4aa4b0e95669.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_selector-observer_dist_index_esm_js-f690fd9ae3d5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_relative-time-element_dist_index_js-6d3967acd51c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_combobox-nav_dist_index_js-node_modules_github_g-emoji-element_di-6ce195-53781cbc550f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_auto-complete-element_dist_index_js-node_modules_github_catalyst_-6afc16-3cdfa69a0406.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_text-expander-element_dist_index_js-f5498b8d4e5d.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-b5f1d7-492b5042c841.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-1f651a-1e3d784c897c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_primer_view-co-7671f1-dc6cac136d88.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/github-elements-71486356f507.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/element-registry-e3ab8405ef80.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_braintree_browser-detection_dist_browser-detection_js-node_modules_githu-bb80ec-634de60bacfa.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_lit-html_lit-html_js-ce7225a304c5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_hydro-analytics-client_dist_analytics-client_js-node_modules_gith-f3aee1-e6893db9c19e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c-f8a5485c982a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js-858e043fcf76.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-893f9f-6cf3320416b8.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_scroll-anchoring_dist_scroll-anchoring_esm_js-node_modules_stacktrace-pa-a71630-6f3c4f0189d8.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_color-convert_index_js-0e07cc183eed.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_quote-selection_dist_index_js-node_modules_github_session-resume_-0b5e12-889cec8cf448.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_updatable-content_updatable-content_ts-eae9df0dd562.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packages-900dde-18d1c91a7872.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_sticky-scroll-into-view_ts-7cbef09a422c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-d0d0a6-0e9fa537dc4f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235-c89801ebbe15.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/behaviors-93287f4de493.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js-f6223d90c7ba.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/notifications-global-3366f6b6298e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_virtualized-list_es_index_js-node_modules_github_template-parts_lib_index_js-96453a51f920.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_primer_live-region-element-32d343-56ceead9587a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_decorators_js-node_modules_delegated-events_di-cc9bcb-ea42a360c5ae.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_ref-selector_ts-043af64042a1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_diffs_blob-lines_ts-app_assets_modules_github_diffs_linkable-line-n-b8c0ea-77a5219efe36.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/diffs-bc5dd2707d5a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/primer-react-765944243383.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-core-cd0a67881543.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-lib-7b7b5264f6c1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/octicons-react-45c3a19dd792.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-62da9f-54c0c921f04b.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-e7dcdd-285fc29e9fa5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js-4896ddd4b7bb.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/notifications-subscriptions-menu-1490f5bef85d.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.9fa170e9435ed4b922b9.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/notifications-subscriptions-menu.1bcff9205c241e99cff2.module.css" /> <title>Core:Manipulation: Add basic TrustedHTML support · jquery/jquery@de5398a · GitHub</title> <meta name="route-pattern" content="/_view_fragments/Voltron::CommitFragmentsController/show/:user_id/:repository/:name/repo_layout(.:format)" data-turbo-transient> <meta name="route-controller" content="voltron_commit_fragments" data-turbo-transient> <meta name="route-action" content="repo_layout" data-turbo-transient> <meta name="current-catalog-service-hash" content="f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb"> <meta name="request-id" content="98FC:15106C:16F54D:18E3CB:67441FA2" data-pjax-transient="true"/><meta name="html-safe-nonce" content="05103b449bb012af02272295b58f840460013d36812b9bca75215f5d68d35a75" data-pjax-transient="true"/><meta name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEZDOjE1MTA2QzoxNkY1NEQ6MThFM0NCOjY3NDQxRkEyIiwidmlzaXRvcl9pZCI6IjUzNTM4ODMyMzgyMjQxMDk0NzQiLCJyZWdpb25fZWRnZSI6InNvdXRoZWFzdGFzaWEiLCJyZWdpb25fcmVuZGVyIjoic291dGhlYXN0YXNpYSJ9" data-pjax-transient="true"/><meta name="visitor-hmac" content="9ac84a1aaf168441aa4bf1165aefb1ffb259d327bbd5c28e9b8b64520a689332" data-pjax-transient="true"/> <meta name="hovercard-subject-tag" content="repository:167174" data-turbo-transient> <meta name="github-keyboard-shortcuts" content="repository,commits,copilot" data-turbo-transient="true" /> <meta name="selected-link" value="repo_commits" data-turbo-transient> <link rel="assets" href="https://github.githubassets.com/"> <meta name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I"> <meta name="octolytics-url" content="https://collector.github.com/github/collect" /> <meta name="analytics-location" content="/<user-name>/<repo-name>/voltron/commit_fragments/repo_layout" data-turbo-transient="true" /> <meta name="user-login" content=""> <meta name="viewport" content="width=device-width"> <meta name="description" content="jQuery JavaScript Library. Contribute to jquery/jquery development by creating an account on GitHub."> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub"> <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub"> <meta property="fb:app_id" content="1401488693436528"> <meta name="apple-itunes-app" content="app-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::CommitFragmentsController/show/jquery/jquery/de5398a6ad088dc006b46c6a870a2a053f4cd663/repo_layout" /> <meta name="twitter:image" content="https://opengraph.githubassets.com/7046bf49b7352cda5a69d59dc94960a49786f470bc7148f19f50f6c297aadfe5/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663" /><meta name="twitter:site" content="@github" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:title" content="Core:Manipulation: Add basic TrustedHTML support · jquery/jquery@de5398a" /><meta name="twitter:description" content="This ensures HTML wrapped in TrustedHTML can be used as an input to jQuery manipulation methods in a way that doesn&amp;#39;t violate the `require-trusted-types-for` Content Security Policy direc..." /> <meta property="og:image" content="https://opengraph.githubassets.com/7046bf49b7352cda5a69d59dc94960a49786f470bc7148f19f50f6c297aadfe5/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663" /><meta property="og:image:alt" content="This ensures HTML wrapped in TrustedHTML can be used as an input to jQuery manipulation methods in a way that doesn&#39;t violate the `require-trusted-types-for` Content Security Policy directive..." /><meta property="og:image:width" content="1200" /><meta property="og:image:height" content="600" /><meta property="og:site_name" content="GitHub" /><meta property="og:type" content="object" /><meta property="og:title" content="Core:Manipulation: Add basic TrustedHTML support · jquery/jquery@de5398a" /><meta property="og:url" content="/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663" /><meta property="og:description" content="This ensures HTML wrapped in TrustedHTML can be used as an input to jQuery manipulation methods in a way that doesn&#39;t violate the `require-trusted-types-for` Content Security Policy directive..." /><meta property="og:updated_time" content="1633010424" /> <meta name="hostname" content="github.com"> <meta name="expected-hostname" content="github.com"> <meta http-equiv="x-pjax-version" content="272935131c2027f789efabd5bf30904ffaea35908a22afd03d8f75128cee7e1b" data-turbo-track="reload"> <meta http-equiv="x-pjax-csp-version" content="ace39c3b6632770952207593607e6e0be0db363435a8b877b1f96abe6430f345" data-turbo-track="reload"> <meta http-equiv="x-pjax-css-version" content="8968ee26e93ec8c6d3c4e91c77fb9d206091689d451ebbcddeca3832587a5b30" data-turbo-track="reload"> <meta http-equiv="x-pjax-js-version" content="c4972ae1cf5d4607c47252349fc1b47a24ff0ea303e5a8fbbe18ec27725a87ee" data-turbo-track="reload"> <meta name="turbo-cache-control" content="no-preview" data-turbo-transient=""> <link href="/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663.diff" rel="alternate" type="text/plain+diff" data-turbo-transient="true" /> <link href="/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663.patch" rel="alternate" type="text/plain+patch" data-turbo-transient="true" /> <meta name="diff-view" content="unified" data-turbo-transient> <meta name="voltron-timing" value="708"> <meta name="go-import" content="github.com/jquery/jquery git https://github.com/jquery/jquery.git"> <meta name="octolytics-dimension-user_id" content="70142" /><meta name="octolytics-dimension-user_login" content="jquery" /><meta name="octolytics-dimension-repository_id" content="167174" /><meta name="octolytics-dimension-repository_nwo" content="jquery/jquery" /><meta name="octolytics-dimension-repository_public" content="true" /><meta name="octolytics-dimension-repository_is_fork" content="false" /><meta name="octolytics-dimension-repository_network_root_id" content="167174" /><meta name="octolytics-dimension-repository_network_root_nwo" content="jquery/jquery" /> <meta name="turbo-body-classes" content="logged-out env-production page-responsive"> <meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats"> <meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors"> <link rel="mask-icon" href="https://github.githubassets.com/assets/pinned-octocat-093da3e6fa40.svg" color="#000000"> <link rel="alternate icon" class="js-site-favicon" type="image/png" href="https://github.githubassets.com/favicons/favicon.png"> <link rel="icon" class="js-site-favicon" type="image/svg+xml" href="https://github.githubassets.com/favicons/favicon.svg" data-base-href="https://github.githubassets.com/favicons/favicon"> <meta name="theme-color" content="#1e2327"> <meta name="color-scheme" content="light dark" /> <link rel="manifest" href="/manifest.json" crossOrigin="use-credentials"> </head> <body class="logged-out env-production page-responsive" style="word-wrap: break-word;"> <div data-turbo-body class="logged-out env-production page-responsive" style="word-wrap: break-word;"> <div class="position-relative header-wrapper js-header-wrapper "> <a href="#start-of-content" data-skip-target-assigned="false" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content</a> <span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full"> <span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span> </span> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/primer-react-765944243383.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-core-cd0a67881543.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-lib-7b7b5264f6c1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/octicons-react-45c3a19dd792.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-62da9f-54c0c921f04b.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-e7dcdd-285fc29e9fa5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js-4896ddd4b7bb.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_ui-commands_ui-commands_ts-d25fac54a6bc.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/keyboard-shortcuts-dialog-ed30662f9578.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.9fa170e9435ed4b922b9.module.css" /> <react-partial partial-name="keyboard-shortcuts-dialog" data-ssr="false" data-attempted-ssr="false" > <script type="application/json" data-target="react-partial.embeddedData">{"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}</script> <div data-target="react-partial.reactRoot"></div> </react-partial> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-94fd67-cf3dd69d89eb.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/sessions-8fa3b694f335.js"></script> <header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark> <h2 class="sr-only">Navigation Menu</h2> <button type="button" class="HeaderMktg-backdrop d-lg-none border-0 position-fixed top-0 left-0 width-full height-full js-details-target" aria-label="Toggle navigation"> <span class="d-none">Toggle navigation</span> </button> <div class="d-flex flex-column flex-lg-row flex-items-center px-3 px-md-4 px-lg-5 height-full position-relative z-1"> <div class="d-flex flex-justify-between flex-items-center width-full width-lg-auto"> <div class="flex-1"> <button aria-label="Toggle navigation" aria-expanded="false" type="button" data-view-component="true" class="js-details-target js-nav-padding-recalculate js-header-menu-toggle Button--link Button--medium Button d-lg-none color-fg-inherit p-1"> <span class="Button-content"> <span class="Button-label"><div class="HeaderMenu-toggle-bar rounded my-1"></div> <div class="HeaderMenu-toggle-bar rounded my-1"></div> <div class="HeaderMenu-toggle-bar rounded my-1"></div></span> </span> </button> </div> <a class="mr-lg-3 color-fg-inherit flex-order-2 js-prevent-focus-on-mobile-nav" href="/" aria-label="Homepage" data-analytics-event="{"category":"Marketing nav","action":"click to go to homepage","label":"ref_page:Marketing;ref_cta:Logomark;ref_loc:Header"}"> <svg height="32" aria-hidden="true" viewBox="0 0 24 24" version="1.1" width="32" data-view-component="true" class="octicon octicon-mark-github"> <path d="M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"></path> </svg> </a> <div class="flex-1 flex-order-2 text-right"> <a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fjquery%2Fjquery%2Fcommit%2Fde5398a6ad088dc006b46c6a870a2a053f4cd663" class="HeaderMenu-link HeaderMenu-button d-inline-flex d-lg-none flex-order-1 f5 no-underline border color-border-default rounded-2 px-2 py-1 color-fg-inherit js-prevent-focus-on-mobile-nav" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-click-hmac="61286f1f150ddabd847217f14d6aada5d7f9c52084fe36cd6eab1b596145686a" data-analytics-event="{"category":"Marketing nav","action":"click to Sign in","label":"ref_page:Marketing;ref_cta:Sign in;ref_loc:Header"}" > Sign in </a> </div> </div> <div class="HeaderMenu js-header-menu height-fit position-lg-relative d-lg-flex flex-column flex-auto top-0"> <div class="HeaderMenu-wrapper d-flex flex-column flex-self-start flex-lg-row flex-auto rounded rounded-lg-0"> <nav class="HeaderMenu-nav" aria-label="Global"> <ul class="d-lg-flex list-style-none"> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Product <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"github_copilot","context":"product","tag":"link","label":"github_copilot_link_product_navbar"}" href="https://github.com/features/copilot"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-copilot color-fg-subtle mr-3"> <path d="M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"></path><path d="M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Copilot</div> Write better code with AI </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"security","context":"product","tag":"link","label":"security_link_product_navbar"}" href="https://github.com/features/security"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-shield-check color-fg-subtle mr-3"> <path d="M16.53 9.78a.75.75 0 0 0-1.06-1.06L11 13.19l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5Z"></path><path d="m12.54.637 8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.771 10.704-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.77 20.705 2 16.19 2 10V4.976c0-.758.489-1.43 1.21-1.664L11.46.637a1.748 1.748 0 0 1 1.08 0Zm-.617 1.426-8.25 2.676a.249.249 0 0 0-.173.237V10c0 5.46 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0C17.22 19.483 20.5 15.461 20.5 10V4.976a.25.25 0 0 0-.173-.237l-8.25-2.676a.253.253 0 0 0-.154 0Z"></path> </svg> <div> <div class="color-fg-default h4">Security</div> Find and fix vulnerabilities </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"actions","context":"product","tag":"link","label":"actions_link_product_navbar"}" href="https://github.com/features/actions"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-workflow color-fg-subtle mr-3"> <path d="M1 3a2 2 0 0 1 2-2h6.5a2 2 0 0 1 2 2v6.5a2 2 0 0 1-2 2H7v4.063C7 16.355 7.644 17 8.438 17H12.5v-2.5a2 2 0 0 1 2-2H21a2 2 0 0 1 2 2V21a2 2 0 0 1-2 2h-6.5a2 2 0 0 1-2-2v-2.5H8.437A2.939 2.939 0 0 1 5.5 15.562V11.5H3a2 2 0 0 1-2-2Zm2-.5a.5.5 0 0 0-.5.5v6.5a.5.5 0 0 0 .5.5h6.5a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5ZM14.5 14a.5.5 0 0 0-.5.5V21a.5.5 0 0 0 .5.5H21a.5.5 0 0 0 .5-.5v-6.5a.5.5 0 0 0-.5-.5Z"></path> </svg> <div> <div class="color-fg-default h4">Actions</div> Automate any workflow </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"codespaces","context":"product","tag":"link","label":"codespaces_link_product_navbar"}" href="https://github.com/features/codespaces"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-codespaces color-fg-subtle mr-3"> <path d="M3.5 3.75C3.5 2.784 4.284 2 5.25 2h13.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 18.75 13H5.25a1.75 1.75 0 0 1-1.75-1.75Zm-2 12c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v4a1.75 1.75 0 0 1-1.75 1.75H3.25a1.75 1.75 0 0 1-1.75-1.75ZM5.25 3.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h13.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Zm-2 12a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h17.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25Z"></path><path d="M10 17.75a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1-.75-.75Zm-4 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"></path> </svg> <div> <div class="color-fg-default h4">Codespaces</div> Instant dev environments </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"issues","context":"product","tag":"link","label":"issues_link_product_navbar"}" href="https://github.com/features/issues"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-issue-opened color-fg-subtle mr-3"> <path d="M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Zm9.5 2a2 2 0 1 1-.001-3.999A2 2 0 0 1 12 14Z"></path> </svg> <div> <div class="color-fg-default h4">Issues</div> Plan and track work </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"code_review","context":"product","tag":"link","label":"code_review_link_product_navbar"}" href="https://github.com/features/code-review"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-code-review color-fg-subtle mr-3"> <path d="M10.3 6.74a.75.75 0 0 1-.04 1.06l-2.908 2.7 2.908 2.7a.75.75 0 1 1-1.02 1.1l-3.5-3.25a.75.75 0 0 1 0-1.1l3.5-3.25a.75.75 0 0 1 1.06.04Zm3.44 1.06a.75.75 0 1 1 1.02-1.1l3.5 3.25a.75.75 0 0 1 0 1.1l-3.5 3.25a.75.75 0 1 1-1.02-1.1l2.908-2.7-2.908-2.7Z"></path><path d="M1.5 4.25c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v12.5a1.75 1.75 0 0 1-1.75 1.75h-9.69l-3.573 3.573A1.458 1.458 0 0 1 5 21.043V18.5H3.25a1.75 1.75 0 0 1-1.75-1.75ZM3.25 4a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h2.5a.75.75 0 0 1 .75.75v3.19l3.72-3.72a.749.749 0 0 1 .53-.22h10a.25.25 0 0 0 .25-.25V4.25a.25.25 0 0 0-.25-.25Z"></path> </svg> <div> <div class="color-fg-default h4">Code Review</div> Manage code changes </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"discussions","context":"product","tag":"link","label":"discussions_link_product_navbar"}" href="https://github.com/features/discussions"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-comment-discussion color-fg-subtle mr-3"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 14.25 14H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 15.543V14H1.75A1.75 1.75 0 0 1 0 12.25v-9.5C0 1.784.784 1 1.75 1ZM1.5 2.75v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path><path d="M22.5 8.75a.25.25 0 0 0-.25-.25h-3.5a.75.75 0 0 1 0-1.5h3.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 22.25 20H21v1.543a1.457 1.457 0 0 1-2.487 1.03L15.939 20H10.75A1.75 1.75 0 0 1 9 18.25v-1.465a.75.75 0 0 1 1.5 0v1.465c0 .138.112.25.25.25h5.5a.75.75 0 0 1 .53.22l2.72 2.72v-2.19a.75.75 0 0 1 .75-.75h2a.25.25 0 0 0 .25-.25v-9.5Z"></path> </svg> <div> <div class="color-fg-default h4">Discussions</div> Collaborate outside of code </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"code_search","context":"product","tag":"link","label":"code_search_link_product_navbar"}" href="https://github.com/features/code-search"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-code-square color-fg-subtle mr-3"> <path d="M10.3 8.24a.75.75 0 0 1-.04 1.06L7.352 12l2.908 2.7a.75.75 0 1 1-1.02 1.1l-3.5-3.25a.75.75 0 0 1 0-1.1l3.5-3.25a.75.75 0 0 1 1.06.04Zm3.44 1.06a.75.75 0 1 1 1.02-1.1l3.5 3.25a.75.75 0 0 1 0 1.1l-3.5 3.25a.75.75 0 1 1-1.02-1.1l2.908-2.7-2.908-2.7Z"></path><path d="M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25Zm1.75-.25a.25.25 0 0 0-.25.25v16.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25Z"></path> </svg> <div> <div class="color-fg-default h4">Code Search</div> Find more, search less </div> </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="product-explore-heading">Explore</span> <ul class="list-style-none f5" aria-labelledby="product-explore-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"all_features","context":"product","tag":"link","label":"all_features_link_product_navbar"}" href="https://github.com/features"> All features </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"documentation","context":"product","tag":"link","label":"documentation_link_product_navbar"}" href="https://docs.github.com"> Documentation <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"github_skills","context":"product","tag":"link","label":"github_skills_link_product_navbar"}" href="https://skills.github.com"> GitHub Skills <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"blog","context":"product","tag":"link","label":"blog_link_product_navbar"}" href="https://github.blog"> Blog <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Solutions <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 pb-lg-3 mb-3 mb-lg-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-company-size-heading">By company size</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-company-size-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"enterprises","context":"solutions","tag":"link","label":"enterprises_link_solutions_navbar"}" href="https://github.com/enterprise"> Enterprises </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"small_and_medium_teams","context":"solutions","tag":"link","label":"small_and_medium_teams_link_solutions_navbar"}" href="https://github.com/team"> Small and medium teams </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"startups","context":"solutions","tag":"link","label":"startups_link_solutions_navbar"}" href="https://github.com/enterprise/startups"> Startups </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-use-case-heading">By use case</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-use-case-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"devsecops","context":"solutions","tag":"link","label":"devsecops_link_solutions_navbar"}" href="/solutions/use-case/devsecops"> DevSecOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"devops","context":"solutions","tag":"link","label":"devops_link_solutions_navbar"}" href="/solutions/use-case/devops"> DevOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"ci_cd","context":"solutions","tag":"link","label":"ci_cd_link_solutions_navbar"}" href="/solutions/use-case/ci-cd"> CI/CD </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"view_all_use_cases","context":"solutions","tag":"link","label":"view_all_use_cases_link_solutions_navbar"}" href="/solutions/use-case"> View all use cases </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-industry-heading">By industry</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-industry-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"healthcare","context":"solutions","tag":"link","label":"healthcare_link_solutions_navbar"}" href="/solutions/industry/healthcare"> Healthcare </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"financial_services","context":"solutions","tag":"link","label":"financial_services_link_solutions_navbar"}" href="/solutions/industry/financial-services"> Financial services </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"manufacturing","context":"solutions","tag":"link","label":"manufacturing_link_solutions_navbar"}" href="/solutions/industry/manufacturing"> Manufacturing </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"government","context":"solutions","tag":"link","label":"government_link_solutions_navbar"}" href="/solutions/industry/government"> Government </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"view_all_industries","context":"solutions","tag":"link","label":"view_all_industries_link_solutions_navbar"}" href="/solutions/industry"> View all industries </a></li> </ul> </div> </div> <div class="HeaderMenu-trailing-link rounded-bottom-2 flex-shrink-0 mt-lg-4 px-lg-4 py-4 py-lg-3 f5 text-semibold"> <a href="/solutions"> View all solutions <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right HeaderMenu-trailing-link-icon"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </a> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Resources <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="resources-topics-heading">Topics</span> <ul class="list-style-none f5" aria-labelledby="resources-topics-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"ai","context":"resources","tag":"link","label":"ai_link_resources_navbar"}" href="/resources/articles/ai"> AI </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"devops","context":"resources","tag":"link","label":"devops_link_resources_navbar"}" href="/resources/articles/devops"> DevOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"security","context":"resources","tag":"link","label":"security_link_resources_navbar"}" href="/resources/articles/security"> Security </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"software_development","context":"resources","tag":"link","label":"software_development_link_resources_navbar"}" href="/resources/articles/software-development"> Software Development </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"view_all","context":"resources","tag":"link","label":"view_all_link_resources_navbar"}" href="/resources/articles"> View all </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="resources-explore-heading">Explore</span> <ul class="list-style-none f5" aria-labelledby="resources-explore-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"learning_pathways","context":"resources","tag":"link","label":"learning_pathways_link_resources_navbar"}" href="https://resources.github.com/learn/pathways"> Learning Pathways <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"white_papers_ebooks_webinars","context":"resources","tag":"link","label":"white_papers_ebooks_webinars_link_resources_navbar"}" href="https://resources.github.com"> White papers, Ebooks, Webinars <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"customer_stories","context":"resources","tag":"link","label":"customer_stories_link_resources_navbar"}" href="https://github.com/customer-stories"> Customer Stories </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{"location":"navbar","action":"partners","context":"resources","tag":"link","label":"partners_link_resources_navbar"}" href="https://partner.github.com"> Partners <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Open Source <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 px-lg-4"> <div class="HeaderMenu-column"> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"github_sponsors","context":"open_source","tag":"link","label":"github_sponsors_link_open_source_navbar"}" href="/sponsors"> <div> <div class="color-fg-default h4">GitHub Sponsors</div> Fund open source developers </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"the_readme_project","context":"open_source","tag":"link","label":"the_readme_project_link_open_source_navbar"}" href="https://github.com/readme"> <div> <div class="color-fg-default h4">The ReadME Project</div> GitHub community articles </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="open-source-repositories-heading">Repositories</span> <ul class="list-style-none f5" aria-labelledby="open-source-repositories-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"topics","context":"open_source","tag":"link","label":"topics_link_open_source_navbar"}" href="https://github.com/topics"> Topics </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"trending","context":"open_source","tag":"link","label":"trending_link_open_source_navbar"}" href="https://github.com/trending"> Trending </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{"location":"navbar","action":"collections","context":"open_source","tag":"link","label":"collections_link_open_source_navbar"}" href="https://github.com/collections"> Collections </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Enterprise <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 px-lg-4"> <div class="HeaderMenu-column"> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"enterprise_platform","context":"enterprise","tag":"link","label":"enterprise_platform_link_enterprise_navbar"}" href="/enterprise"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-stack color-fg-subtle mr-3"> <path d="M11.063 1.456a1.749 1.749 0 0 1 1.874 0l8.383 5.316a1.751 1.751 0 0 1 0 2.956l-8.383 5.316a1.749 1.749 0 0 1-1.874 0L2.68 9.728a1.751 1.751 0 0 1 0-2.956Zm1.071 1.267a.25.25 0 0 0-.268 0L3.483 8.039a.25.25 0 0 0 0 .422l8.383 5.316a.25.25 0 0 0 .268 0l8.383-5.316a.25.25 0 0 0 0-.422Z"></path><path d="M1.867 12.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"></path><path d="M1.867 16.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"></path> </svg> <div> <div class="color-fg-default h4">Enterprise platform</div> AI-powered developer platform </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="enterprise-available-add-ons-heading">Available add-ons</span> <ul class="list-style-none f5" aria-labelledby="enterprise-available-add-ons-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"advanced_security","context":"enterprise","tag":"link","label":"advanced_security_link_enterprise_navbar"}" href="https://github.com/enterprise/advanced-security"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-shield-check color-fg-subtle mr-3"> <path d="M16.53 9.78a.75.75 0 0 0-1.06-1.06L11 13.19l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5Z"></path><path d="m12.54.637 8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.771 10.704-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.77 20.705 2 16.19 2 10V4.976c0-.758.489-1.43 1.21-1.664L11.46.637a1.748 1.748 0 0 1 1.08 0Zm-.617 1.426-8.25 2.676a.249.249 0 0 0-.173.237V10c0 5.46 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0C17.22 19.483 20.5 15.461 20.5 10V4.976a.25.25 0 0 0-.173-.237l-8.25-2.676a.253.253 0 0 0-.154 0Z"></path> </svg> <div> <div class="color-fg-default h4">Advanced Security</div> Enterprise-grade security features </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{"location":"navbar","action":"github_copilot","context":"enterprise","tag":"link","label":"github_copilot_link_enterprise_navbar"}" href="/features/copilot#enterprise"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-copilot color-fg-subtle mr-3"> <path d="M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"></path><path d="M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Copilot</div> Enterprise-grade AI features </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{"location":"navbar","action":"premium_support","context":"enterprise","tag":"link","label":"premium_support_link_enterprise_navbar"}" href="/premium-support"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-comment-discussion color-fg-subtle mr-3"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 14.25 14H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 15.543V14H1.75A1.75 1.75 0 0 1 0 12.25v-9.5C0 1.784.784 1 1.75 1ZM1.5 2.75v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path><path d="M22.5 8.75a.25.25 0 0 0-.25-.25h-3.5a.75.75 0 0 1 0-1.5h3.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 22.25 20H21v1.543a1.457 1.457 0 0 1-2.487 1.03L15.939 20H10.75A1.75 1.75 0 0 1 9 18.25v-1.465a.75.75 0 0 1 1.5 0v1.465c0 .138.112.25.25.25h5.5a.75.75 0 0 1 .53.22l2.72 2.72v-2.19a.75.75 0 0 1 .75-.75h2a.25.25 0 0 0 .25-.25v-9.5Z"></path> </svg> <div> <div class="color-fg-default h4">Premium Support</div> Enterprise-grade 24/7 support </div> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <a class="HeaderMenu-link no-underline px-0 px-lg-2 py-3 py-lg-2 d-block d-lg-inline-block" data-analytics-event="{"location":"navbar","action":"pricing","context":"global","tag":"link","label":"pricing_link_global_navbar"}" href="https://github.com/pricing">Pricing</a> </li> </ul> </nav> <div class="d-flex flex-column flex-lg-row width-full flex-justify-end flex-lg-items-center text-center mt-3 mt-lg-0 text-lg-left ml-lg-3"> <qbsearch-input class="search-input" data-scope="repo:jquery/jquery" data-custom-scopes-path="/search/custom_scopes" data-delete-custom-scopes-csrf="eW2Zx1V32rpjez8EhibRmdOtXBXS3SvJ88UcOPdDESmdiz27KT6uSs3VvXJpyU2jkfSgOxfqYTjkazNLLTLmqw" data-max-custom-scopes="10" data-header-redesign-enabled="false" data-initial-value="" data-blackbird-suggestions-path="/search/suggestions" data-jump-to-suggestions-path="/_graphql/GetSuggestedNavigationDestinations" data-current-repository="jquery/jquery" data-current-org="jquery" data-current-owner="" data-logged-in="false" data-copilot-chat-enabled="false" data-nl-search-enabled="false" data-retain-scroll-position="true"> <div class="search-input-container search-with-dialog position-relative d-flex flex-row flex-items-center mr-4 rounded" data-action="click:qbsearch-input#searchInputContainerClicked" > <button type="button" class="header-search-button placeholder input-button form-control d-flex flex-1 flex-self-stretch flex-items-center no-wrap width-full py-0 pl-2 pr-0 text-left border-0 box-shadow-none" data-target="qbsearch-input.inputButton" aria-label="Search or jump to…" aria-haspopup="dialog" placeholder="Search or jump to..." data-hotkey=s,/ autocapitalize="off" data-analytics-event="{"location":"navbar","action":"searchbar","context":"global","tag":"input","label":"searchbar_input_global_navbar"}" data-action="click:qbsearch-input#handleExpand" > <div class="mr-2 color-fg-muted"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </div> <span class="flex-1" data-target="qbsearch-input.inputButtonText">Search or jump to...</span> <div class="d-flex" data-target="qbsearch-input.hotkeyIndicator"> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="20" aria-hidden="true" class="mr-1"><path fill="none" stroke="#979A9C" opacity=".4" d="M3.5.5h12c1.7 0 3 1.3 3 3v13c0 1.7-1.3 3-3 3h-12c-1.7 0-3-1.3-3-3v-13c0-1.7 1.3-3 3-3z"></path><path fill="#979A9C" d="M11.8 6L8 15.1h-.9L10.8 6h1z"></path></svg> </div> </button> <input type="hidden" name="type" class="js-site-search-type-field"> <div class="Overlay--hidden " data-modal-dialog-overlay> <modal-dialog data-action="close:qbsearch-input#handleClose cancel:qbsearch-input#handleClose" data-target="qbsearch-input.searchSuggestionsDialog" role="dialog" id="search-suggestions-dialog" aria-modal="true" aria-labelledby="search-suggestions-dialog-header" data-view-component="true" class="Overlay Overlay--width-large Overlay--height-auto"> <h1 id="search-suggestions-dialog-header" class="sr-only">Search code, repositories, users, issues, pull requests...</h1> <div class="Overlay-body Overlay-body--paddingNone"> <div data-view-component="true"> <div class="search-suggestions position-fixed width-full color-shadow-large border color-fg-default color-bg-default overflow-hidden d-flex flex-column query-builder-container" style="border-radius: 12px;" data-target="qbsearch-input.queryBuilderContainer" hidden > <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="query-builder-test-form" action="" accept-charset="UTF-8" method="get"> <query-builder data-target="qbsearch-input.queryBuilder" id="query-builder-query-builder-test" data-filter-key=":" data-view-component="true" class="QueryBuilder search-query-builder"> <div class="FormControl FormControl--fullWidth"> <label id="query-builder-test-label" for="query-builder-test" class="FormControl-label sr-only"> Search </label> <div class="QueryBuilder-StyledInput width-fit " data-target="query-builder.styledInput" > <span id="query-builder-test-leadingvisual-wrap" class="FormControl-input-leadingVisualWrap QueryBuilder-leadingVisualWrap"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search FormControl-input-leadingVisual"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </span> <div data-target="query-builder.styledInputContainer" class="QueryBuilder-StyledInputContainer"> <div aria-hidden="true" class="QueryBuilder-StyledInputContent" data-target="query-builder.styledInputContent" ></div> <div class="QueryBuilder-InputWrapper"> <div aria-hidden="true" class="QueryBuilder-Sizer" data-target="query-builder.sizer"></div> <input id="query-builder-test" name="query-builder-test" value="" autocomplete="off" type="text" role="combobox" spellcheck="false" aria-expanded="false" aria-describedby="validation-5f13c8b2-9bc8-486b-a500-a25121e68395" data-target="query-builder.input" data-action=" input:query-builder#inputChange blur:query-builder#inputBlur keydown:query-builder#inputKeydown focus:query-builder#inputFocus " data-view-component="true" class="FormControl-input QueryBuilder-Input FormControl-medium" /> </div> </div> <span class="sr-only" id="query-builder-test-clear">Clear</span> <button role="button" id="query-builder-test-clear-button" aria-labelledby="query-builder-test-clear query-builder-test-label" data-target="query-builder.clearButton" data-action=" click:query-builder#clear focus:query-builder#clearButtonFocus blur:query-builder#clearButtonBlur " variant="small" hidden="hidden" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium mr-1 px-2 py-0 d-flex flex-items-center rounded-1 color-fg-muted"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x-circle-fill Button-visual"> <path d="M2.343 13.657A8 8 0 1 1 13.658 2.343 8 8 0 0 1 2.343 13.657ZM6.03 4.97a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042L6.94 8 4.97 9.97a.749.749 0 0 0 .326 1.275.749.749 0 0 0 .734-.215L8 9.06l1.97 1.97a.749.749 0 0 0 1.275-.326.749.749 0 0 0-.215-.734L9.06 8l1.97-1.97a.749.749 0 0 0-.326-1.275.749.749 0 0 0-.734.215L8 6.94Z"></path> </svg> </button> </div> <template id="search-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </template> <template id="code-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </template> <template id="file-code-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-code"> <path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path> </svg> </template> <template id="history-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-history"> <path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path> </svg> </template> <template id="repo-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo"> <path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"></path> </svg> </template> <template id="bookmark-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bookmark"> <path d="M3 2.75C3 1.784 3.784 1 4.75 1h6.5c.966 0 1.75.784 1.75 1.75v11.5a.75.75 0 0 1-1.227.579L8 11.722l-3.773 3.107A.751.751 0 0 1 3 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.91l3.023-2.489a.75.75 0 0 1 .954 0l3.023 2.49V2.75a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="plus-circle-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus-circle"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7.25-3.25v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5a.75.75 0 0 1 1.5 0Z"></path> </svg> </template> <template id="circle-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-dot-fill"> <path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"></path> </svg> </template> <template id="trash-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-trash"> <path d="M11 1.75V3h2.25a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5H5V1.75C5 .784 5.784 0 6.75 0h2.5C10.216 0 11 .784 11 1.75ZM4.496 6.675l.66 6.6a.25.25 0 0 0 .249.225h5.19a.25.25 0 0 0 .249-.225l.66-6.6a.75.75 0 0 1 1.492.149l-.66 6.6A1.748 1.748 0 0 1 10.595 15h-5.19a1.75 1.75 0 0 1-1.741-1.575l-.66-6.6a.75.75 0 1 1 1.492-.15ZM6.5 1.75V3h3V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25Z"></path> </svg> </template> <template id="team-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-people"> <path d="M2 5.5a3.5 3.5 0 1 1 5.898 2.549 5.508 5.508 0 0 1 3.034 4.084.75.75 0 1 1-1.482.235 4 4 0 0 0-7.9 0 .75.75 0 0 1-1.482-.236A5.507 5.507 0 0 1 3.102 8.05 3.493 3.493 0 0 1 2 5.5ZM11 4a3.001 3.001 0 0 1 2.22 5.018 5.01 5.01 0 0 1 2.56 3.012.749.749 0 0 1-.885.954.752.752 0 0 1-.549-.514 3.507 3.507 0 0 0-2.522-2.372.75.75 0 0 1-.574-.73v-.352a.75.75 0 0 1 .416-.672A1.5 1.5 0 0 0 11 5.5.75.75 0 0 1 11 4Zm-5.5-.5a2 2 0 1 0-.001 3.999A2 2 0 0 0 5.5 3.5Z"></path> </svg> </template> <template id="project-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-project"> <path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25ZM11.75 3a.75.75 0 0 1 .75.75v7.5a.75.75 0 0 1-1.5 0v-7.5a.75.75 0 0 1 .75-.75Zm-8.25.75a.75.75 0 0 1 1.5 0v5.5a.75.75 0 0 1-1.5 0ZM8 3a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 3Z"></path> </svg> </template> <template id="pencil-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pencil"> <path d="M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61Zm.176 4.823L9.75 4.81l-6.286 6.287a.253.253 0 0 0-.064.108l-.558 1.953 1.953-.558a.253.253 0 0 0 .108-.064Zm1.238-3.763a.25.25 0 0 0-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 0 0 0-.354Z"></path> </svg> </template> <template id="copilot-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copilot"> <path d="M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z"></path><path d="M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z"></path> </svg> </template> <template id="copilot-error-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copilot-error"> <path d="M16 11.24c0 .112-.072.274-.21.467L13 9.688V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-.198 0-.388-.009-.571-.029L6.833 5.226a4.01 4.01 0 0 0 .17-.782c.117-.935-.037-1.395-.241-1.614-.193-.206-.637-.413-1.682-.297-.683.076-1.115.231-1.395.415l-1.257-.91c.579-.564 1.413-.877 2.485-.996 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095Zm-5.083-8.707c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Zm2.511 11.074c-1.393.776-3.272 1.428-5.43 1.428-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.18-.455-.241-.963-.252-1.475L.31 4.107A.747.747 0 0 1 0 3.509V3.49a.748.748 0 0 1 .625-.73c.156-.026.306.047.435.139l14.667 10.578a.592.592 0 0 1 .227.264.752.752 0 0 1 .046.249v.022a.75.75 0 0 1-1.19.596Zm-1.367-.991L5.635 7.964a5.128 5.128 0 0 1-.889.073c-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433 1.539 0 3.089-.505 4.063-.934Z"></path> </svg> </template> <template id="workflow-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-workflow"> <path d="M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="book-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-book"> <path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path> </svg> </template> <template id="code-review-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code-review"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 13H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25v-8.5C0 1.784.784 1 1.75 1ZM1.5 2.75v8.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-8.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Zm5.28 1.72a.75.75 0 0 1 0 1.06L5.31 7l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.75.75 0 0 1 1.06 0Zm2.44 0a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L10.69 7 9.22 5.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </template> <template id="codespaces-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-codespaces"> <path d="M0 11.25c0-.966.784-1.75 1.75-1.75h12.5c.966 0 1.75.784 1.75 1.75v3A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm2-9.5C2 .784 2.784 0 3.75 0h8.5C13.216 0 14 .784 14 1.75v5a1.75 1.75 0 0 1-1.75 1.75h-8.5A1.75 1.75 0 0 1 2 6.75Zm1.75-.25a.25.25 0 0 0-.25.25v5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-5a.25.25 0 0 0-.25-.25Zm-2 9.5a.25.25 0 0 0-.25.25v3c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-3a.25.25 0 0 0-.25-.25Z"></path><path d="M7 12.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm-4 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"></path> </svg> </template> <template id="comment-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment"> <path d="M1 2.75C1 1.784 1.784 1 2.75 1h10.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 13.25 12H9.06l-2.573 2.573A1.458 1.458 0 0 1 4 13.543V12H2.75A1.75 1.75 0 0 1 1 10.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h4.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="comment-discussion-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment-discussion"> <path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path> </svg> </template> <template id="organization-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-organization"> <path d="M1.75 16A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0h8.5C11.216 0 12 .784 12 1.75v12.5c0 .085-.006.168-.018.25h2.268a.25.25 0 0 0 .25-.25V8.285a.25.25 0 0 0-.111-.208l-1.055-.703a.749.749 0 1 1 .832-1.248l1.055.703c.487.325.779.871.779 1.456v5.965A1.75 1.75 0 0 1 14.25 16h-3.5a.766.766 0 0 1-.197-.026c-.099.017-.2.026-.303.026h-3a.75.75 0 0 1-.75-.75V14h-1v1.25a.75.75 0 0 1-.75.75Zm-.25-1.75c0 .138.112.25.25.25H4v-1.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 .75.75v1.25h2.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM3.75 6h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 3.75A.75.75 0 0 1 3.75 3h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 3.75Zm4 3A.75.75 0 0 1 7.75 6h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 7 6.75ZM7.75 3h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 9.75A.75.75 0 0 1 3.75 9h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 9.75ZM7.75 9h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5Z"></path> </svg> </template> <template id="rocket-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-rocket"> <path d="M14.064 0h.186C15.216 0 16 .784 16 1.75v.186a8.752 8.752 0 0 1-2.564 6.186l-.458.459c-.314.314-.641.616-.979.904v3.207c0 .608-.315 1.172-.833 1.49l-2.774 1.707a.749.749 0 0 1-1.11-.418l-.954-3.102a1.214 1.214 0 0 1-.145-.125L3.754 9.816a1.218 1.218 0 0 1-.124-.145L.528 8.717a.749.749 0 0 1-.418-1.11l1.71-2.774A1.748 1.748 0 0 1 3.31 4h3.204c.288-.338.59-.665.904-.979l.459-.458A8.749 8.749 0 0 1 14.064 0ZM8.938 3.623h-.002l-.458.458c-.76.76-1.437 1.598-2.02 2.5l-1.5 2.317 2.143 2.143 2.317-1.5c.902-.583 1.74-1.26 2.499-2.02l.459-.458a7.25 7.25 0 0 0 2.123-5.127V1.75a.25.25 0 0 0-.25-.25h-.186a7.249 7.249 0 0 0-5.125 2.123ZM3.56 14.56c-.732.732-2.334 1.045-3.005 1.148a.234.234 0 0 1-.201-.064.234.234 0 0 1-.064-.201c.103-.671.416-2.273 1.15-3.003a1.502 1.502 0 1 1 2.12 2.12Zm6.94-3.935c-.088.06-.177.118-.266.175l-2.35 1.521.548 1.783 1.949-1.2a.25.25 0 0 0 .119-.213ZM3.678 8.116 5.2 5.766c.058-.09.117-.178.176-.266H3.309a.25.25 0 0 0-.213.119l-1.2 1.95ZM12 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </template> <template id="shield-check-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield-check"> <path d="m8.533.133 5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667l5.25-1.68a1.748 1.748 0 0 1 1.066 0Zm-.61 1.429.001.001-5.25 1.68a.251.251 0 0 0-.174.237V7c0 1.36.275 2.666 1.057 3.859.784 1.194 2.121 2.342 4.366 3.298a.196.196 0 0 0 .154 0c2.245-.957 3.582-2.103 4.366-3.297C13.225 9.666 13.5 8.358 13.5 7V3.48a.25.25 0 0 0-.174-.238l-5.25-1.68a.25.25 0 0 0-.153 0ZM11.28 6.28l-3.5 3.5a.75.75 0 0 1-1.06 0l-1.5-1.5a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l.97.97 2.97-2.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </template> <template id="heart-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-heart"> <path d="m8 14.25.345.666a.75.75 0 0 1-.69 0l-.008-.004-.018-.01a7.152 7.152 0 0 1-.31-.17 22.055 22.055 0 0 1-3.434-2.414C2.045 10.731 0 8.35 0 5.5 0 2.836 2.086 1 4.25 1 5.797 1 7.153 1.802 8 3.02 8.847 1.802 10.203 1 11.75 1 13.914 1 16 2.836 16 5.5c0 2.85-2.045 5.231-3.885 6.818a22.066 22.066 0 0 1-3.744 2.584l-.018.01-.006.003h-.002ZM4.25 2.5c-1.336 0-2.75 1.164-2.75 3 0 2.15 1.58 4.144 3.365 5.682A20.58 20.58 0 0 0 8 13.393a20.58 20.58 0 0 0 3.135-2.211C12.92 9.644 14.5 7.65 14.5 5.5c0-1.836-1.414-3-2.75-3-1.373 0-2.609.986-3.029 2.456a.749.749 0 0 1-1.442 0C6.859 3.486 5.623 2.5 4.25 2.5Z"></path> </svg> </template> <template id="server-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-server"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v4c0 .372-.116.717-.314 1 .198.283.314.628.314 1v4a1.75 1.75 0 0 1-1.75 1.75H1.75A1.75 1.75 0 0 1 0 12.75v-4c0-.358.109-.707.314-1a1.739 1.739 0 0 1-.314-1v-4C0 1.784.784 1 1.75 1ZM1.5 2.75v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Zm.25 5.75a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25ZM7 4.75A.75.75 0 0 1 7.75 4h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 7 4.75ZM7.75 10h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM3 4.75A.75.75 0 0 1 3.75 4h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 4.75ZM3.75 10h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5Z"></path> </svg> </template> <template id="globe-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-globe"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM5.78 8.75a9.64 9.64 0 0 0 1.363 4.177c.255.426.542.832.857 1.215.245-.296.551-.705.857-1.215A9.64 9.64 0 0 0 10.22 8.75Zm4.44-1.5a9.64 9.64 0 0 0-1.363-4.177c-.307-.51-.612-.919-.857-1.215a9.927 9.927 0 0 0-.857 1.215A9.64 9.64 0 0 0 5.78 7.25Zm-5.944 1.5H1.543a6.507 6.507 0 0 0 4.666 5.5c-.123-.181-.24-.365-.352-.552-.715-1.192-1.437-2.874-1.581-4.948Zm-2.733-1.5h2.733c.144-2.074.866-3.756 1.58-4.948.12-.197.237-.381.353-.552a6.507 6.507 0 0 0-4.666 5.5Zm10.181 1.5c-.144 2.074-.866 3.756-1.58 4.948-.12.197-.237.381-.353.552a6.507 6.507 0 0 0 4.666-5.5Zm2.733-1.5a6.507 6.507 0 0 0-4.666-5.5c.123.181.24.365.353.552.714 1.192 1.436 2.874 1.58 4.948Z"></path> </svg> </template> <template id="issue-opened-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> </template> <template id="device-mobile-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-mobile"> <path d="M3.75 0h8.5C13.216 0 14 .784 14 1.75v12.5A1.75 1.75 0 0 1 12.25 16h-8.5A1.75 1.75 0 0 1 2 14.25V1.75C2 .784 2.784 0 3.75 0ZM3.5 1.75v12.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM8 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path> </svg> </template> <template id="package-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-package"> <path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"></path> </svg> </template> <template id="credit-card-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-credit-card"> <path d="M10.75 9a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5h-1.5Z"></path><path d="M0 3.75C0 2.784.784 2 1.75 2h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 14H1.75A1.75 1.75 0 0 1 0 12.25ZM14.5 6.5h-13v5.75c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25Zm0-2.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25V5h13Z"></path> </svg> </template> <template id="play-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> </template> <template id="gift-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-gift"> <path d="M2 2.75A2.75 2.75 0 0 1 4.75 0c.983 0 1.873.42 2.57 1.232.268.318.497.668.68 1.042.183-.375.411-.725.68-1.044C9.376.42 10.266 0 11.25 0a2.75 2.75 0 0 1 2.45 4h.55c.966 0 1.75.784 1.75 1.75v2c0 .698-.409 1.301-1 1.582v4.918A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25V9.332C.409 9.05 0 8.448 0 7.75v-2C0 4.784.784 4 1.75 4h.55c-.192-.375-.3-.8-.3-1.25ZM7.25 9.5H2.5v4.75c0 .138.112.25.25.25h4.5Zm1.5 0v5h4.5a.25.25 0 0 0 .25-.25V9.5Zm0-4V8h5.5a.25.25 0 0 0 .25-.25v-2a.25.25 0 0 0-.25-.25Zm-7 0a.25.25 0 0 0-.25.25v2c0 .138.112.25.25.25h5.5V5.5h-5.5Zm3-4a1.25 1.25 0 0 0 0 2.5h2.309c-.233-.818-.542-1.401-.878-1.793-.43-.502-.915-.707-1.431-.707ZM8.941 4h2.309a1.25 1.25 0 0 0 0-2.5c-.516 0-1 .205-1.43.707-.337.392-.646.975-.879 1.793Z"></path> </svg> </template> <template id="code-square-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code-square"> <path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25Zm7.47 3.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L10.69 8 9.22 6.53a.75.75 0 0 1 0-1.06ZM6.78 6.53 5.31 8l1.47 1.47a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </template> <template id="device-desktop-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-desktop"> <path d="M14.25 1c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 14.25 12h-3.727c.099 1.041.52 1.872 1.292 2.757A.752.752 0 0 1 11.25 16h-6.5a.75.75 0 0 1-.565-1.243c.772-.885 1.192-1.716 1.292-2.757H1.75A1.75 1.75 0 0 1 0 10.25v-7.5C0 1.784.784 1 1.75 1ZM1.75 2.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25ZM9.018 12H6.982a5.72 5.72 0 0 1-.765 2.5h3.566a5.72 5.72 0 0 1-.765-2.5Z"></path> </svg> </template> <div class="position-relative"> <ul role="listbox" class="ActionListWrap QueryBuilder-ListWrap" aria-label="Suggestions" data-action=" combobox-commit:query-builder#comboboxCommit mousedown:query-builder#resultsMousedown " data-target="query-builder.resultsList" data-persist-list=false id="query-builder-test-results" ></ul> </div> <div class="FormControl-inlineValidation" id="validation-5f13c8b2-9bc8-486b-a500-a25121e68395" hidden="hidden"> <span class="FormControl-inlineValidation--visual"> <svg aria-hidden="true" height="12" viewBox="0 0 12 12" version="1.1" width="12" data-view-component="true" class="octicon octicon-alert-fill"> <path d="M4.855.708c.5-.896 1.79-.896 2.29 0l4.675 8.351a1.312 1.312 0 0 1-1.146 1.954H1.33A1.313 1.313 0 0 1 .183 9.058ZM7 7V3H5v4Zm-1 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"></path> </svg> </span> <span></span> </div> </div> <div data-target="query-builder.screenReaderFeedback" aria-live="polite" aria-atomic="true" class="sr-only"></div> </query-builder></form> <div class="d-flex flex-row color-fg-muted px-3 text-small color-bg-default search-feedback-prompt"> <a target="_blank" href="https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax" data-view-component="true" class="Link color-fg-accent text-normal ml-2"> Search syntax tips </a> <div class="d-flex flex-1"></div> </div> </div> </div> </div> </modal-dialog></div> </div> <div data-action="click:qbsearch-input#retract" class="dark-backdrop position-fixed" hidden data-target="qbsearch-input.darkBackdrop"></div> <div class="color-fg-default"> <dialog-helper> <dialog data-target="qbsearch-input.feedbackDialog" data-action="close:qbsearch-input#handleDialogClose cancel:qbsearch-input#handleDialogClose" id="feedback-dialog" aria-modal="true" aria-labelledby="feedback-dialog-title" aria-describedby="feedback-dialog-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-medium Overlay--motion-scaleFade Overlay--disableScroll"> <div data-view-component="true" class="Overlay-header"> <div class="Overlay-headerContentWrap"> <div class="Overlay-titleWrap"> <h1 class="Overlay-title " id="feedback-dialog-title"> Provide feedback </h1> </div> <div class="Overlay-actionWrap"> <button data-close-dialog-id="feedback-dialog" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg></button> </div> </div> </div> <scrollable-region data-labelled-by="feedback-dialog-title"> <div data-view-component="true" class="Overlay-body"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="code-search-feedback-form" data-turbo="false" action="/search/feedback" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="s6rBo9n5M3qthJGL61KpMN5xBROkodxoGW6UqD2C0XBZxf9HSkDVLkhmEaKPQCFZUpUyjd2aBzZOQ1EArhRAZw==" /> <p>We read every piece of feedback, and take your input very seriously.</p> <textarea name="feedback" class="form-control width-full mb-2" style="height: 120px" id="feedback"></textarea> <input name="include_email" id="include_email" aria-label="Include my email address so I can be contacted" class="form-control mr-2" type="checkbox"> <label for="include_email" style="font-weight: normal">Include my email address so I can be contacted</label> </form></div> </scrollable-region> <div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd"> <button data-close-dialog-id="feedback-dialog" type="button" data-view-component="true" class="btn"> Cancel </button> <button form="code-search-feedback-form" data-action="click:qbsearch-input#submitFeedback" type="submit" data-view-component="true" class="btn-primary btn"> Submit feedback </button> </div> </dialog></dialog-helper> <custom-scopes data-target="qbsearch-input.customScopesManager"> <dialog-helper> <dialog data-target="custom-scopes.customScopesModalDialog" data-action="close:qbsearch-input#handleDialogClose cancel:qbsearch-input#handleDialogClose" id="custom-scopes-dialog" aria-modal="true" aria-labelledby="custom-scopes-dialog-title" aria-describedby="custom-scopes-dialog-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-medium Overlay--motion-scaleFade Overlay--disableScroll"> <div data-view-component="true" class="Overlay-header Overlay-header--divided"> <div class="Overlay-headerContentWrap"> <div class="Overlay-titleWrap"> <h1 class="Overlay-title " id="custom-scopes-dialog-title"> Saved searches </h1> <h2 id="custom-scopes-dialog-description" class="Overlay-description">Use saved searches to filter your results more quickly</h2> </div> <div class="Overlay-actionWrap"> <button data-close-dialog-id="custom-scopes-dialog" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg></button> </div> </div> </div> <scrollable-region data-labelled-by="custom-scopes-dialog-title"> <div data-view-component="true" class="Overlay-body"> <div data-target="custom-scopes.customScopesModalDialogFlash"></div> <div hidden class="create-custom-scope-form" data-target="custom-scopes.createCustomScopeForm"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="custom-scopes-dialog-form" data-turbo="false" action="/search/custom_scopes" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="/63NsQL0IEJejvWo1NM9T6TrSalipuwoK+MBvZWfYuxEz9y/kdRj7bgo9pWneOtD4YnXEEstJaCgrYKNh+qsXw==" /> <div data-target="custom-scopes.customScopesModalDialogFlash"></div> <input type="hidden" id="custom_scope_id" name="custom_scope_id" data-target="custom-scopes.customScopesIdField"> <div class="form-group"> <label for="custom_scope_name">Name</label> <auto-check src="/search/custom_scopes/check_name" required> <input type="text" name="custom_scope_name" id="custom_scope_name" data-target="custom-scopes.customScopesNameField" class="form-control" autocomplete="off" placeholder="github-ruby" required maxlength="50"> <input type="hidden" data-csrf="true" value="buXASMTucmzKhzcop4nNbWwo2I3XJOuNDYhqMf974mg4wavf/InnhNgiKs5jaPbrr3welNu0J/GRQuSw8uag+Q==" /> </auto-check> </div> <div class="form-group"> <label for="custom_scope_query">Query</label> <input type="text" name="custom_scope_query" id="custom_scope_query" data-target="custom-scopes.customScopesQueryField" class="form-control" autocomplete="off" placeholder="(repo:mona/a OR repo:mona/b) AND lang:python" required maxlength="500"> </div> <p class="text-small color-fg-muted"> To see all available qualifiers, see our <a class="Link--inTextBlock" href="https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax">documentation</a>. </p> </form> </div> <div data-target="custom-scopes.manageCustomScopesForm"> <div data-target="custom-scopes.list"></div> </div> </div> </scrollable-region> <div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd Overlay-footer--divided"> <button data-action="click:custom-scopes#customScopesCancel" type="button" data-view-component="true" class="btn"> Cancel </button> <button form="custom-scopes-dialog-form" data-action="click:custom-scopes#customScopesSubmit" data-target="custom-scopes.customScopesSubmitButton" type="submit" data-view-component="true" class="btn-primary btn"> Create saved search </button> </div> </dialog></dialog-helper> </custom-scopes> </div> </qbsearch-input> <div class="position-relative HeaderMenu-link-wrap d-lg-inline-block"> <a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fjquery%2Fjquery%2Fcommit%2Fde5398a6ad088dc006b46c6a870a2a053f4cd663" class="HeaderMenu-link HeaderMenu-link--sign-in HeaderMenu-button flex-shrink-0 no-underline d-none d-lg-inline-flex border border-lg-0 rounded rounded-lg-0 px-2 py-1" style="margin-left: 12px;" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-click-hmac="61286f1f150ddabd847217f14d6aada5d7f9c52084fe36cd6eab1b596145686a" data-analytics-event="{"category":"Marketing nav","action":"click to go to homepage","label":"ref_page:Marketing;ref_cta:Sign in;ref_loc:Header"}" > Sign in </a> </div> <a href="/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fcommit_fragments%2Frepo_layout&source=header-repo&source_repo=jquery%2Fjquery" class="HeaderMenu-link HeaderMenu-link--sign-up HeaderMenu-button flex-shrink-0 d-flex d-lg-inline-flex no-underline border color-border-default rounded px-2 py-1" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-click-hmac="61286f1f150ddabd847217f14d6aada5d7f9c52084fe36cd6eab1b596145686a" data-analytics-event="{"category":"Sign up","action":"click to sign up for account","label":"ref_page:/<user-name>/<repo-name>/voltron/commit_fragments/repo_layout;ref_cta:Sign up;ref_loc:header logged out"}" > Sign up </a> <button type="button" class="sr-only js-header-menu-focus-trap d-block d-lg-none">Reseting focus</button> </div> </div> </div> </div> </header> <div hidden="hidden" data-view-component="true" class="js-stale-session-flash stale-session-flash flash flash-warn flash-full"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span class="js-stale-session-flash-signed-in" hidden>You signed in with another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <span class="js-stale-session-flash-switched" hidden>You switched accounts on another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <button id="icon-button-2ace7dec-ec55-4ac6-b6e7-88fc81a7cad4" aria-labelledby="tooltip-63b4ac6e-f352-429b-9684-24de1a5b1cb3" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium flash-close js-flash-close"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x Button-visual"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button><tool-tip id="tooltip-63b4ac6e-f352-429b-9684-24de1a5b1cb3" for="icon-button-2ace7dec-ec55-4ac6-b6e7-88fc81a7cad4" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Dismiss alert</tool-tip> </div> </div> <div id="start-of-content" class="show-on-focus"></div> <div id="js-flash-container" class="flash-container" data-turbo-replace> <template class="js-flash-template"> <div class="flash flash-full {{ className }}"> <div > <button autofocus class="flash-close js-flash-close" type="button" aria-label="Dismiss this message"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div aria-atomic="true" role="alert" class="js-flash-alert"> <div>{{ message }}</div> </div> </div> </div> </template> </div> <div class="application-main " data-commit-hovercards-enabled data-discussion-hovercards-enabled data-issue-and-pr-hovercards-enabled > <div itemscope itemtype="http://schema.org/SoftwareSourceCode" class=""> <main id="js-repo-pjax-container" > <div id="repository-container-header" class="pt-3 hide-full-screen" style="background-color: var(--page-header-bgColor, var(--color-page-header-bg));" data-turbo-replace> <div class="d-flex flex-nowrap flex-justify-end mb-3 px-3 px-lg-5" style="gap: 1rem;"> <div class="flex-auto min-width-0 width-fit"> <div class=" d-flex flex-wrap flex-items-center wb-break-word f3 text-normal"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo color-fg-muted mr-2"> <path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"></path> </svg> <span class="author flex-self-stretch" itemprop="author"> <a class="url fn" rel="author" data-hovercard-type="organization" data-hovercard-url="/orgs/jquery/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/jquery"> jquery </a> </span> <span class="mx-1 flex-self-stretch color-fg-muted">/</span> <strong itemprop="name" class="mr-2 flex-self-stretch"> <a data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" href="/jquery/jquery">jquery</a> </strong> <span></span><span class="Label Label--secondary v-align-middle mr-1">Public</span> </div> </div> <div id="repository-details-container" class="flex-shrink-0" data-turbo-replace style="max-width: 70%;"> <ul class="pagehead-actions flex-shrink-0 d-none d-md-inline" style="padding: 2px 0;"> <li> <a href="/login?return_to=%2Fjquery%2Fjquery" rel="nofollow" id="repository-details-watch-button" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"notification subscription menu watch","repository_id":null,"auth_type":"LOG_IN","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-click-hmac="bc4574414d657a3fe05d740bc4e918846b362451f3db2a1d14eca25e98ae7e2d" aria-label="You must be signed in to change notification settings" data-view-component="true" class="btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bell mr-2"> <path d="M8 16a2 2 0 0 0 1.985-1.75c.017-.137-.097-.25-.235-.25h-3.5c-.138 0-.252.113-.235.25A2 2 0 0 0 8 16ZM3 5a5 5 0 0 1 10 0v2.947c0 .05.015.098.042.139l1.703 2.555A1.519 1.519 0 0 1 13.482 13H2.518a1.516 1.516 0 0 1-1.263-2.36l1.703-2.554A.255.255 0 0 0 3 7.947Zm5-3.5A3.5 3.5 0 0 0 4.5 5v2.947c0 .346-.102.683-.294.97l-1.703 2.556a.017.017 0 0 0-.003.01l.001.006c0 .002.002.004.004.006l.006.004.007.001h10.964l.007-.001.006-.004.004-.006.001-.007a.017.017 0 0 0-.003-.01l-1.703-2.554a1.745 1.745 0 0 1-.294-.97V5A3.5 3.5 0 0 0 8 1.5Z"></path> </svg>Notifications </a> <tool-tip id="tooltip-1d59108a-a980-48fc-bd09-5c73bd27c2a6" for="repository-details-watch-button" popover="manual" data-direction="s" data-type="description" data-view-component="true" class="sr-only position-absolute">You must be signed in to change notification settings</tool-tip> </li> <li> <a icon="repo-forked" id="fork-button" href="/login?return_to=%2Fjquery%2Fjquery" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"repo details fork button","repository_id":167174,"auth_type":"LOG_IN","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-click-hmac="155d087d2be8cf5de0b57e3544b59547c4c2a70b839b3c561188bf77109ba89e" data-view-component="true" class="btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo-forked mr-2"> <path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path> </svg>Fork <span id="repo-network-counter" data-pjax-replace="true" data-turbo-replace="true" title="20,578" data-view-component="true" class="Counter">20.6k</span> </a> </li> <li> <div data-view-component="true" class="BtnGroup d-flex"> <a href="/login?return_to=%2Fjquery%2Fjquery" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"star button","repository_id":167174,"auth_type":"LOG_IN","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-click-hmac="408c8d781c3c53c8a5026042c75c607de4f192e250f0c943b7eeb73e87fc69d9" aria-label="You must be signed in to star a repository" data-view-component="true" class="tooltipped tooltipped-sw btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star v-align-text-bottom d-inline-block mr-2"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg><span data-view-component="true" class="d-inline"> Star </span> <span id="repo-stars-counter-star" aria-label="59246 users starred this repository" data-singular-suffix="user starred this repository" data-plural-suffix="users starred this repository" data-turbo-replace="true" title="59,246" data-view-component="true" class="Counter js-social-count">59.2k</span> </a></div> </li> </ul> </div> </div> <div id="responsive-meta-container" data-turbo-replace> </div> <nav data-pjax="#js-repo-pjax-container" aria-label="Repository" data-view-component="true" class="js-repo-nav js-sidenav-container-pjax js-responsive-underlinenav overflow-hidden UnderlineNav px-3 px-md-4 px-lg-5"> <ul data-view-component="true" class="UnderlineNav-body list-style-none"> <li data-view-component="true" class="d-inline-flex"> <a id="code-tab" href="/jquery/jquery" data-tab-item="i0code-tab" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches repo_packages repo_deployments repo_attestations /jquery/jquery" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g c" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Code","target":"UNDERLINE_NAV.TAB"}" aria-current="page" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item selected"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code UnderlineNav-octicon d-none d-sm-inline"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> <span data-content="Code">Code</span> <span id="code-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="issues-tab" href="/jquery/jquery/issues" data-tab-item="i1issues-tab" data-selected-links="repo_issues repo_labels repo_milestones /jquery/jquery/issues" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g i" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Issues","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened UnderlineNav-octicon d-none d-sm-inline"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> <span data-content="Issues">Issues</span> <span id="issues-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="77" data-view-component="true" class="Counter">77</span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="pull-requests-tab" href="/jquery/jquery/pulls" data-tab-item="i2pull-requests-tab" data-selected-links="repo_pulls checks /jquery/jquery/pulls" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g p" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Pull requests","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-pull-request UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path> </svg> <span data-content="Pull requests">Pull requests</span> <span id="pull-requests-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="17" data-view-component="true" class="Counter">17</span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="discussions-tab" href="/jquery/jquery/discussions" data-tab-item="i3discussions-tab" data-selected-links="repo_discussions /jquery/jquery/discussions" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g g" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Discussions","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment-discussion UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path> </svg> <span data-content="Discussions">Discussions</span> <span id="discussions-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="actions-tab" href="/jquery/jquery/actions" data-tab-item="i4actions-tab" data-selected-links="repo_actions /jquery/jquery/actions" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g a" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Actions","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play UnderlineNav-octicon d-none d-sm-inline"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> <span data-content="Actions">Actions</span> <span id="actions-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="wiki-tab" href="/jquery/jquery/wiki" data-tab-item="i5wiki-tab" data-selected-links="repo_wiki /jquery/jquery/wiki" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g w" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Wiki","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-book UnderlineNav-octicon d-none d-sm-inline"> <path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path> </svg> <span data-content="Wiki">Wiki</span> <span id="wiki-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="security-tab" href="/jquery/jquery/security" data-tab-item="i6security-tab" data-selected-links="security overview alerts policy token_scanning code_scanning /jquery/jquery/security" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g s" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Security","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield UnderlineNav-octicon d-none d-sm-inline"> <path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span data-content="Security">Security</span> <include-fragment src="/jquery/jquery/security/overall-count" accept="text/fragment+html"></include-fragment> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="insights-tab" href="/jquery/jquery/pulse" data-tab-item="i7insights-tab" data-selected-links="repo_graphs repo_contributors dependency_graph dependabot_updates pulse people community /jquery/jquery/pulse" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-analytics-event="{"category":"Underline navbar","action":"Click tab","label":"Insights","target":"UNDERLINE_NAV.TAB"}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-graph UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> <span data-content="Insights">Insights</span> <span id="insights-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> </ul> <div style="visibility:hidden;" data-view-component="true" class="UnderlineNav-actions js-responsive-underlinenav-overflow position-absolute pr-3 pr-md-4 pr-lg-5 right-0"> <action-menu data-select-variant="none" data-view-component="true"> <focus-group direction="vertical" mnemonics retain> <button id="action-menu-d0633bf8-cad5-44f9-9b0c-2c5714770821-button" popovertarget="action-menu-d0633bf8-cad5-44f9-9b0c-2c5714770821-overlay" aria-controls="action-menu-d0633bf8-cad5-44f9-9b0c-2c5714770821-list" aria-haspopup="true" aria-labelledby="tooltip-ad80848c-6017-4f8a-b2c7-f58523e90f0d" type="button" data-view-component="true" class="Button Button--iconOnly Button--secondary Button--medium UnderlineNav-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal Button-visual"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </button><tool-tip id="tooltip-ad80848c-6017-4f8a-b2c7-f58523e90f0d" for="action-menu-d0633bf8-cad5-44f9-9b0c-2c5714770821-button" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Additional navigation options</tool-tip> <anchored-position id="action-menu-d0633bf8-cad5-44f9-9b0c-2c5714770821-overlay" anchor="action-menu-d0633bf8-cad5-44f9-9b0c-2c5714770821-button" align="start" side="outside-bottom" anchor-offset="normal" popover="auto" data-view-component="true"> <div data-view-component="true" class="Overlay Overlay--size-auto"> <div data-view-component="true" class="Overlay-body Overlay-body--paddingNone"> <action-list> <div data-view-component="true"> <ul aria-labelledby="action-menu-d0633bf8-cad5-44f9-9b0c-2c5714770821-button" id="action-menu-d0633bf8-cad5-44f9-9b0c-2c5714770821-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap"> <li hidden="hidden" data-menu-item="i0code-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-66af81b1-09c6-4f31-ac21-9890dc5f0746" href="/jquery/jquery" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Code </span> </a> </li> <li hidden="hidden" data-menu-item="i1issues-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-1bed2925-8357-402e-90d9-82ca4675378b" href="/jquery/jquery/issues" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Issues </span> </a> </li> <li hidden="hidden" data-menu-item="i2pull-requests-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-0c86acbd-7fdd-4861-ac6d-80e3fbf75da2" href="/jquery/jquery/pulls" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-pull-request"> <path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Pull requests </span> </a> </li> <li hidden="hidden" data-menu-item="i3discussions-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-da15d070-2897-4cc9-b293-0eb5de29d4aa" href="/jquery/jquery/discussions" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment-discussion"> <path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Discussions </span> </a> </li> <li hidden="hidden" data-menu-item="i4actions-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-53a04c5b-caea-41ea-93db-7061b7c2fef3" href="/jquery/jquery/actions" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Actions </span> </a> </li> <li hidden="hidden" data-menu-item="i5wiki-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-36739ebd-0959-4db0-b14e-1485058bb4e8" href="/jquery/jquery/wiki" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-book"> <path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Wiki </span> </a> </li> <li hidden="hidden" data-menu-item="i6security-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-c688d498-04e6-4bbf-8bdd-8247a523893a" href="/jquery/jquery/security" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield"> <path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Security </span> </a> </li> <li hidden="hidden" data-menu-item="i7insights-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-fa8697e4-6255-407d-9f6f-eb9e58498e31" href="/jquery/jquery/pulse" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-graph"> <path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Insights </span> </a> </li> </ul> </div></action-list> </div> </div></anchored-position> </focus-group> </action-menu></div> </nav> </div> <turbo-frame id="repo-content-turbo-frame" target="_top" data-turbo-action="advance" class=""> <div id="repo-content-pjax-container" class="repository-content " > <div class="clearfix container-xl px-3 px-md-4 px-lg-5 mt-4"> <div class="Subhead"> <h2 class="Subhead-heading">Commit</h2> </div> <a href="/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663" class="d-none js-permalink-shortcut" data-hotkey="y">Permalink</a> <div id="spoof-warning" class="mt-0 pb-3" hidden aria-hidden> <div data-view-component="true" class="flash flash-warn mt-0 clearfix"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert float-left mt-1"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <div class="overflow-hidden">This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.</div> </div></div> <div class="commit full-commit mt-0 px-2 pt-2 "> <div class="d-flex flex-justify-between gap-2"> <div class="d-flex"> <span class="mr-1" style="height: 24px"> </span> <div class="commit-title markdown-title"> Core:Manipulation: Add basic TrustedHTML support </div> </div> <a id="browse-at-time-link" href="/jquery/jquery/tree/de5398a6ad088dc006b46c6a870a2a053f4cd663" class="btn flex-self-start" rel="nofollow">Browse files</a> <tool-tip id="tooltip-4c3f1977-2455-4f40-8fab-1a602788c258" for="browse-at-time-link" popover="manual" data-direction="ne" data-type="description" data-view-component="true" class="sr-only position-absolute">Browse the repository at this point in the history</tool-tip> </div> <div class="commit-desc"><pre>This ensures HTML wrapped in TrustedHTML can be used as an input to jQuery manipulation methods in a way that doesn't violate the `require-trusted-types-for` Content Security Policy directive. This commit builds on previous work needed for trusted types support, including <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="581420385" data-permission-text="Title is private" data-url="https://github.com/jquery/jquery/issues/4642" data-hovercard-type="pull_request" data-hovercard-url="/jquery/jquery/pull/4642/hovercard" href="https://github.com/jquery/jquery/pull/4642">gh-4642</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="628052090" data-permission-text="Title is private" data-url="https://github.com/jquery/jquery/issues/4724" data-hovercard-type="pull_request" data-hovercard-url="/jquery/jquery/pull/4724/hovercard" href="https://github.com/jquery/jquery/pull/4724">gh-4724</a>. One restriction is that while any TrustedHTML wrapper should work as input for jQuery methods like `.html()` or `.append()`, for passing directly to the `jQuery` factory the string must start with `<` and end with `>`; no trailing or leading whitespaces are allowed. This is necessary as we cannot parse out a part of the input for further construction; that would violate the CSP rule - and that's what's done to HTML input not matching these constraints. No trusted types API is used explicitly in source; the majority of the work is ensuring we don't pass the input converted to string to APIs that would eventually assign it to `innerHTML`. This extra cautiousness is caused by the API being Blink-only, at least for now. The ban on passing strings to `innerHTML` means support tests relying on such assignments are impossible. We don't currently have such tests on the `main` branch but we used to have many of them in the 3.x & older lines. If there's a need to re-add such a test, we'll need an escape hatch to skip them for apps needing CSP-enforced TrustedHTML. See <a href="https://web.dev/trusted-types/" rel="nofollow">https://web.dev/trusted-types/</a> for more information about TrustedHTML. <span class="issue-keyword tooltipped tooltipped-se" aria-label="This commit closes issue #4409.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="448964638" data-permission-text="Title is private" data-url="https://github.com/jquery/jquery/issues/4409" data-hovercard-type="issue" data-hovercard-url="/jquery/jquery/issues/4409/hovercard" href="https://github.com/jquery/jquery/issues/4409">gh-4409</a> <span class="issue-keyword tooltipped tooltipped-se" aria-label="This commit closes pull request #4927.">Closes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="992617848" data-permission-text="Title is private" data-url="https://github.com/jquery/jquery/issues/4927" data-hovercard-type="pull_request" data-hovercard-url="/jquery/jquery/pull/4927/hovercard" href="https://github.com/jquery/jquery/pull/4927">gh-4927</a> Ref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="581420385" data-permission-text="Title is private" data-url="https://github.com/jquery/jquery/issues/4642" data-hovercard-type="pull_request" data-hovercard-url="/jquery/jquery/pull/4642/hovercard" href="https://github.com/jquery/jquery/pull/4642">gh-4642</a> Ref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="628052090" data-permission-text="Title is private" data-url="https://github.com/jquery/jquery/issues/4724" data-hovercard-type="pull_request" data-hovercard-url="/jquery/jquery/pull/4724/hovercard" href="https://github.com/jquery/jquery/pull/4724">gh-4724</a></pre></div> <div class="commit-branches pb-2"> <include-fragment src="/jquery/jquery/branch_commits/de5398a6ad088dc006b46c6a870a2a053f4cd663" id="async-branches-list"> <div class="pt-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-branch"> <path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path> </svg> <ul class="branches-list"> <li class="loading">Loading branch information<span class="AnimatedEllipsis"></span></li> </ul> </div> </include-fragment></div> <div class="commit-meta p-2 d-flex flex-wrap gap-3 flex-column flex-md-row"> <div class="d-flex flex-1"> <div class="AvatarStack flex-self-start " > <div class="AvatarStack-body" > <a class="avatar avatar-user" style="width:20px;height:20px;" data-test-selector="commits-avatar-stack-avatar-link" data-hovercard-type="user" data-hovercard-url="/users/mgol/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/mgol"> <img data-test-selector="commits-avatar-stack-avatar-image" src="https://avatars.githubusercontent.com/u/1758366?s=40&v=4" width="20" height="20" alt="@mgol" class=" avatar-user" /> </a> </div> </div> <div class="flex-self-start flex-content-center"> <a class="commit-author user-mention" title="View all commits by mgol" data-hovercard-type="user" data-hovercard-url="/users/mgol/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/jquery/jquery/commits?author=mgol">mgol</a> authored <relative-time datetime="2021-09-30T14:00:24Z" class="no-wrap">Sep 30, 2021</relative-time> <div class="d-none d-md-inline-block"> <batch-deferred-content class="d-inline-block" data-url="/commits/badges"> <input type="hidden" name="id" value="C_kwDOAAKNBtoAKGRlNTM5OGE2YWQwODhkYzAwNmI0NmM2YTg3MGEyYTA1M2Y0Y2Q2NjM" data-targets="batch-deferred-content.inputs" autocomplete="off" /> <input type="hidden" name="badge_size" value="medium" data-targets="batch-deferred-content.inputs" autocomplete="off" /> <input type="hidden" name="dropdown_direction" value="s" data-targets="batch-deferred-content.inputs" autocomplete="off" /> <span class="Skeleton d-inline-block mr-1" style="width:75px; height:14px; margin-bottom:-4px;"></span> </batch-deferred-content> </div> </div> </div> <div class="d-flex gap-3 no-wrap text-lg-right text-left overflow-x-auto"> <span class="sha-block ml-0" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame"> 1 parent <a class="sha" data-hotkey="p" href="/jquery/jquery/commit/1019074f7b1df96ee9d6409ada3dc0562046f6c7">1019074</a> </span> <span class="sha-block m-0">commit <span class="sha user-select-contain">de5398a</span></span> </div> </div> </div> <diff-layout > <div class="pr-toolbar commit-toolbar mt-n2 color-bg-default d-flex js-sticky-offset-scroll" data-target="diff-layout.diffToolbar" > <div id="toc" class="d-flex flex-items-center js-details-container Details flex-1 my-2" style="gap: 4px 16px;"> <file-tree-toggle data-action="toggle-sidebar:diff-layout#toggleSidebar" class="d-none d-md-inline-block d-lg-inline-block d-xl-inline-block" > <div data-view-component="true" class="position-relative d-inline-block"> <button id="show-file-tree-button" data-target="file-tree-toggle.showFileTreeButton diff-layout.showFileTreeButton" data-action="click:file-tree-toggle#toggleFileTree" data-prefer-file-tree-visible="true" data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"action":"show_tree","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-click-hmac="67d92a724fb7bacae83774176c4b2030814b49a82edb00420710906cd9d79be0" hidden="hidden" type="button" data-view-component="true" class="btn-octicon Link--muted diffbar-item m-0 p-0"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sidebar-collapse"> <path d="M6.823 7.823a.25.25 0 0 1 0 .354l-2.396 2.396A.25.25 0 0 1 4 10.396V5.604a.25.25 0 0 1 .427-.177Z"></path><path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25H9.5v-13H1.75a.25.25 0 0 0-.25.25ZM11 14.5h3.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11Z"></path> </svg> </button> <tool-tip id="tooltip-950f73c1-23bb-4f61-baf6-a0610a457d91" for="show-file-tree-button" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Show file tree</tool-tip> </div> <div data-view-component="true" class="position-relative d-inline-block"> <button id="hide-file-tree-button" data-target="file-tree-toggle.hideFileTreeButton" data-action="click:file-tree-toggle#toggleFileTree" data-prefer-file-tree-visible="false" data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"action":"hide_tree","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-click-hmac="0ef9497db175bbcd41fe795b90bab98b7f26544f5ffd2042f131811033866cc0" type="button" data-view-component="true" class="btn-octicon Link--muted diffbar-item m-0 p-0"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sidebar-expand"> <path d="m4.177 7.823 2.396-2.396A.25.25 0 0 1 7 5.604v4.792a.25.25 0 0 1-.427.177L4.177 8.177a.25.25 0 0 1 0-.354Z"></path><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25H9.5v-13Zm12.5 13a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11v13Z"></path> </svg> </button> <tool-tip id="tooltip-352f4a91-dc33-4d82-8cf3-343fec7925b9" for="hide-file-tree-button" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Hide file tree</tool-tip> </div> </file-tree-toggle> <div> Showing <strong>12 changed files</strong> with <strong>170 additions</strong> and <strong>46 deletions</strong>. </div> <div class="flex-1"></div> <div class="d-flex d-inline-block"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="d-flex gap-2 flex-column flex-sm-row flex-items-end" data-turbo="false" action="/users/diffview" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="CXZ0xP0N1sI3TQfj+406Gk4golpuqarD8K/KRt4rIaxxM1dForyqHBeWtWXLuZ6cvkk0AhoeUL7QimsOzvEnnA==" /> <segmented-control> <ul aria-label="Whitespace" role="list" data-view-component="true" class="SegmentedControl--small SegmentedControl"> <li class="SegmentedControl-item SegmentedControl-item--selected" role="listitem" data-targets="segmented-control.items"> <button data-disable-with="" name="w" value="0" data-action="click:segmented-control#select" aria-current="true" type="submit" data-view-component="true" class="Button--invisible Button--small Button Button--invisible-noVisuals"> <span class="Button-content"> <span class="Button-label">Whitespace</span> </span> </button> </li> <li class="SegmentedControl-item" role="listitem" data-targets="segmented-control.items"> <button data-disable-with="" name="w" value="1" data-action="click:segmented-control#select" aria-current="false" type="submit" data-view-component="true" class="Button--invisible Button--small Button Button--invisible-noVisuals"> <span class="Button-content"> <span class="Button-label">Ignore whitespace</span> </span> </button> </li> </ul></segmented-control> <segmented-control> <ul aria-label="Diff view" role="list" data-view-component="true" class="SegmentedControl--small SegmentedControl"> <li class="SegmentedControl-item" role="listitem" data-targets="segmented-control.items"> <button data-disable-with="" name="diff" value="split" data-action="click:segmented-control#select" aria-current="false" type="submit" data-view-component="true" class="Button--invisible Button--small Button Button--invisible-noVisuals"> <span class="Button-content"> <span class="Button-label">Split</span> </span> </button> </li> <li class="SegmentedControl-item SegmentedControl-item--selected" role="listitem" data-targets="segmented-control.items"> <button data-disable-with="" name="diff" value="unified" data-action="click:segmented-control#select" aria-current="true" type="submit" data-view-component="true" class="Button--invisible Button--small Button Button--invisible-noVisuals"> <span class="Button-content"> <span class="Button-label">Unified</span> </span> </button> </li> </ul></segmented-control> <input type="hidden" name="old_w" id="old_w" value="0" autocomplete="off" class="form-control" /> <input type="hidden" name="old_diff" id="old_diff" value="unified" autocomplete="off" class="form-control" /> </form> </div> </div> </div> <div side="left" responsive="true" data-target="diff-layout.layoutContainer" data-view-component="true" class="Layout Layout--flowRow-until-md Layout--gutter-condensed hx_Layout wants-full-width-container Layout--sidebarPosition-start Layout--sidebarPosition-flowRow-none"> <div data-target="diff-layout.sidebarContainer" data-action="scroll:diff-layout.sidebarContainer#handleSidebarScroll" data-view-component="true" class="Layout-sidebar overflow-y-auto hx_Layout--sidebar js-notification-shelf-offset-top position-sticky p-2"> <div > <svg xmlns="http://www.w3.org/2000/svg" hidden aria-hidden="true"> <symbol id="octicon_file-directory-fill_16" viewBox="0 0 16 16" width="16" height="16"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></symbol><symbol id="octicon_file-submodule_16" viewBox="0 0 16 16" width="16" height="16"><path d="M0 2.75C0 1.784.784 1 1.75 1H5c.55 0 1.07.26 1.4.7l.9 1.2a.25.25 0 0 0 .2.1h6.75c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 15H1.75A1.75 1.75 0 0 1 0 13.25Zm9.42 9.36 2.883-2.677a.25.25 0 0 0 0-.366L9.42 6.39a.249.249 0 0 0-.42.183V8.5H4.75a.75.75 0 0 0 0 1.5H9v1.927c0 .218.26.331.42.183Z"></path></symbol><symbol id="octicon_file_16" viewBox="0 0 16 16" width="16" height="16"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></symbol><symbol id="octicon_chevron-down_16" viewBox="0 0 16 16" width="16" height="16"><path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path></symbol><symbol id="octicon_diff-added_16" viewBox="0 0 16 16" width="16" height="16"><path d="M2.75 1h10.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1Zm10.5 1.5H2.75a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25ZM8 4a.75.75 0 0 1 .75.75v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5A.75.75 0 0 1 8 4Z"></path></symbol><symbol id="octicon_diff-removed_16" viewBox="0 0 16 16" width="16" height="16"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25Zm8.5 6.25h-6.5a.75.75 0 0 1 0-1.5h6.5a.75.75 0 0 1 0 1.5Z"></path></symbol><symbol id="octicon_diff-modified_16" viewBox="0 0 16 16" width="16" height="16"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Z"></path></symbol><symbol id="octicon_diff-renamed_16" viewBox="0 0 16 16" width="16" height="16"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25Zm9.03 6.03-3.25 3.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.97-1.97H4.75a.75.75 0 0 1 0-1.5h4.69L7.47 5.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l3.25 3.25a.75.75 0 0 1 0 1.06Z"></path></symbol> </svg> <div class="subnav-search mx-0 mb-2" > <input type="text" id="file-tree-filter-field" class="form-control input-block pl-5 js-filterable-field" placeholder="Filter changed files" aria-label="Filter changed files" autocomplete="off" data-target="diff-layout.fileTreePathFilter" data-hydro-click-payload={"event_type":"pull_request.user_action","payload":{"category":"file_filter","data":{"file_count":12},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"filter_by_pathname","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}} data-hydro-click-hmac=fd28dc1921a498fbf7811951e9464d85f9f0c49f53008d6badfde9beded558b2 > <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search subnav-search-icon"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </div> <experimental-action-list data-arrow-navigation="true"> <file-tree data-target="diff-layout.fileTree"> <nav aria-label="File Tree Navigation" > <ul class="ActionList ActionList--tree ActionList--full" role="tree" aria-label="File Tree" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" data-tree-entry-type="root" data-target="diff-file-filter.treeRoot" data-action=" filterable:change:diff-file-filter#hideEmptyDirectories filterable:change:file-tree#instrumentPathFilterChange filterable:change:experimental-action-list#setupFocusZone " > <li class="ActionList-item ActionList-item--hasSubItem js-tree-node" aria-level="1" role="treeitem" style="--ActionList-tree-depth: 1;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > src </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="2" style="--ActionList-tree-depth: 2;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"src/core.js","extension":".js"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="4affb1f7e451d106f87201cf195250d5334a3105cb85bda052f2b16309481c41" data-file-type=".js" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>src/core.js</span> <a class="ActionList-content hx_ActionList-content" href="#diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > core.js </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> <li class="ActionList-item ActionList-item--hasSubItem ActionList-item--subItem js-tree-node" aria-level="2" role="treeitem" style="--ActionList-tree-depth: 2;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > core </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"src/core/init.js","extension":".js"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="6c567c6b3dc433ad4f6d3c729ff1c57d8940a900e69a1ad8a21a48acd2209f07" data-file-type=".js" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>src/core/init.js</span> <a class="ActionList-content hx_ActionList-content" href="#diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > init.js </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> <li id="file-tree-item-diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4e" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"src/core/isArrayLike.js","extension":".js"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="f7553915680451240e9836ae31f630161dc55c31993432baf3b70e3e056029b7" data-file-type=".js" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>src/core/isArrayLike.js</span> <a class="ActionList-content hx_ActionList-content" href="#diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4e" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > isArrayLike.js </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="added" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-added color-fg-success"> <use href="#octicon_diff-added_16"></use> </svg> </span> </a> </li> <li id="file-tree-item-diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38b" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"src/core/isObviousHtml.js","extension":".js"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="0e68fdf3b5c0160612aacc41ed8b862c5c44abf0673d796f5400ac99923e2c32" data-file-type=".js" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>src/core/isObviousHtml.js</span> <a class="ActionList-content hx_ActionList-content" href="#diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38b" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > isObviousHtml.js </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="added" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-added color-fg-success"> <use href="#octicon_diff-added_16"></use> </svg> </span> </a> </li> <li id="file-tree-item-diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"src/core/parseHTML.js","extension":".js"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="80f19b6bbf4f593a07f67747135b0357de85a00bb0639f83aeede6ed5ad1798b" data-file-type=".js" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>src/core/parseHTML.js</span> <a class="ActionList-content hx_ActionList-content" href="#diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > parseHTML.js </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> </ul> </li> <li class="ActionList-item ActionList-item--hasSubItem ActionList-item--subItem js-tree-node" aria-level="2" role="treeitem" style="--ActionList-tree-depth: 2;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > manipulation </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"src/manipulation/buildFragment.js","extension":".js"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="fb0d450fd65f6ef8b9e6cd2b6a3b257b7f7a9581356262ab50bdf572d59c8f87" data-file-type=".js" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>src/manipulation/buildFragment.js</span> <a class="ActionList-content hx_ActionList-content" href="#diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > buildFragment.js </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> </ul> </li> </ul> </li> <li class="ActionList-item ActionList-item--hasSubItem js-tree-node" aria-level="1" role="treeitem" style="--ActionList-tree-depth: 1;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > test </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="2" style="--ActionList-tree-depth: 2;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"test/.eslintrc.json","extension":".json"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="8bf16522e6a4b68a356f8bd5e241af24207f8ce535f3e5f03cb10e98bd8af056" data-file-type=".json" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>test/.eslintrc.json</span> <a class="ActionList-content hx_ActionList-content" href="#diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > .eslintrc.json </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> <li class="ActionList-item ActionList-item--hasSubItem ActionList-item--subItem js-tree-node" aria-level="2" role="treeitem" style="--ActionList-tree-depth: 2;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > data </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"test/data/csp.include.html","extension":".html"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="beca107df09620d6e406f50c092a4ccae8db3293e04b9ad98fa25bad35790d14" data-file-type=".html" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>test/data/csp.include.html</span> <a class="ActionList-content hx_ActionList-content" href="#diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > csp.include.html </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> <li id="file-tree-item-diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"test/data/mock.php","extension":".php"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="e287ad6cfd92a8df0817dc19c3835651e513189b457c03bfd3d54c4ba86c8eb6" data-file-type=".php" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>test/data/mock.php</span> <a class="ActionList-content hx_ActionList-content" href="#diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > mock.php </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> <li id="file-tree-item-diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431a" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"test/data/trusted-html.html","extension":".html"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="f1b1e600bd9143942e4f5d492d85dab4cdfa97287d4e454ff85e9ca6b3969cb9" data-file-type=".html" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>test/data/trusted-html.html</span> <a class="ActionList-content hx_ActionList-content" href="#diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431a" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > trusted-html.html </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="added" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-added color-fg-success"> <use href="#octicon_diff-added_16"></use> </svg> </span> </a> </li> </ul> </li> <li id="file-tree-item-diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="2" style="--ActionList-tree-depth: 2;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"test/middleware-mockserver.js","extension":".js"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="2e99b94c3ae6c1060c1d413fbcf8d7bc13b457788398427f6cbecaf69f9abeaa" data-file-type=".js" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>test/middleware-mockserver.js</span> <a class="ActionList-content hx_ActionList-content" href="#diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > middleware-mockserver.js </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> <li class="ActionList-item ActionList-item--hasSubItem ActionList-item--subItem js-tree-node" aria-level="2" role="treeitem" style="--ActionList-tree-depth: 2;" data-skip-substring-filter data-tree-entry-type="directory" > <button class="ActionList-content" aria-expanded="true" type="button" data-action="click:experimental-action-list#handleItemWithSubItemClick" > <span class="ActionList-item-action ActionList-item-action--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down ActionList-item-collapseIcon"> <use href="#octicon_chevron-down_16"></use> </svg> </span> <span class="ActionList-item-visual ActionList-item-visual--leading"> <svg aria-label="Directory" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-directory-fill hx_color-icon-directory"> <use href="#octicon_file-directory-fill_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate" > unit </span> </button> <ul class="ActionList ActionList--subGroup" data-filterable-for="file-tree-filter-field" data-filterable-type="substring" role="group" > <li id="file-tree-item-diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606" class="ActionList-item ActionList-item--subItem js-tree-node" role="treeitem" aria-level="3" style="--ActionList-tree-depth: 3;" data-action=" click:experimental-action-list#handleItemClick click:file-tree#instrumentSelectFile " data-target="file-tree.fileTreeNode" data-targets=" diff-file-filter.treeEntries file-tree.fileTreeNodes " data-hydro-click-payload="{"event_type":"pull_request.user_action","payload":{"category":"file_tree","data":{"file_count":12,"path":"test/unit/manipulation.js","extension":".js"},"pull_request_id":"de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null,"action":"file_selected","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663"}}" data-hydro-click-hmac="a6c928afab47b85902f14d12cffb64cf2c54ca4792023588d6462e53bea50c9b" data-file-type=".js" data-file-deleted="false" data-tree-entry-type="file" > <span data-filterable-item-text hidden>test/unit/manipulation.js</span> <a class="ActionList-content hx_ActionList-content" href="#diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606" data-turbo="false" > <span class="ActionList-item-visual ActionList-item-visual--leading hx_ActionList-item-visual"> <svg aria-label="File" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file color-fg-muted"> <use href="#octicon_file_16"></use> </svg> </span> <span class="ActionList-item-label ActionList-item-label--truncate hx_ActionList-item-label" > manipulation.js </span> <span class="ActionList-item-visual ActionList-item-visual--trailing hx_ActionList-item-visual"> <svg title="modified" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-diff-modified color-fg-attention"> <use href="#octicon_diff-modified_16"></use> </svg> </span> </a> </li> </ul> </li> </ul> </li> </ul> </nav> </file-tree> </experimental-action-list> </div> </div> <div data-target="diff-layout.mainContainer" data-view-component="true" class="Layout-main files-next-bucket"> <a name="diff-stat"></a> <template class="js-comment-button-template"> <button data-path="{{ path }}" data-anchor="{{ anchor }}" data-position="{{ position }}" data-side="{{ side }}" data-line="{{ line }}" data-original-line="{{ originalLine }}" aria-label="Add line comment" type="button" data-view-component="true" class="add-line-comment js-add-line-comment js-add-single-line-comment btn-link"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus"> <path d="M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2Z"></path> </svg> </button></template> <div id="files" class="diff-view js-diff-container js-code-nav-container" data-hpc> <div class="container-md js-file-filter-blankslate" data-target="diff-file-filter.blankslate" hidden> <div class="blankslate-container"> <div data-view-component="true" class="blankslate"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-filter blankslate-icon"> <path d="M2.75 6a.75.75 0 0 0 0 1.5h18.5a.75.75 0 0 0 0-1.5H2.75ZM6 11.75a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H6.75a.75.75 0 0 1-.75-.75Zm4 4.938a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path> </svg> <h2 data-view-component="true" class="blankslate-heading"> There are no files selected for viewing </h2> </div> </div> </div> <div class="js-diff-progressive-container"> <copilot-diff-entry data-file-path="src/core.js" > <div id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".js" data-file-deleted="false" data-tagsearch-path="src/core.js" data-tagsearch-lang="JavaScript" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="src/core.js" data-short-path="8ab41fe" data-anchor="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" data-file-type=".js" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/jquery/jquery/blob_expand/4f5731ae1b90656f1655449deb0b4fdd4b84d4ca?anchor=diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3&diff=unified&direction=full&mode=100644&path=src%2Fcore.js" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 16 changes: 1 addition & 15 deletions </span> <span class="diffstat" aria-hidden="true">16 <span class="diffstat-block-deleted"></span><span class="diffstat-block-deleted"></span><span class="diffstat-block-deleted"></span><span class="diffstat-block-deleted"></span><span class="diffstat-block-neutral"></span></span> <span class="Truncate"> <a title="src/core.js" class="Link--primary Truncate-text" href="#diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3">src/core.js</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="src/core.js" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/src/core.js" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" id="expand-up-link-0-diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/4f5731ae1b90656f1655449deb0b4fdd4b84d4ca?diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=10&left_hunk_size=9&mode=100644&path=src%2Fcore.js&right=10&right_hunk_size=8" data-left-range="1-9" data-right-range="1-9"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-a59d525c-0cb4-4836-bfcd-afe9e73d4465" for="expand-up-link-0-diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -10,9 +10,8 @@ import hasOwn from "./var/hasOwn.js";</td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L10" data-line-number="10" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R10" data-line-number="10" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s1>fnToString</span> <span class=pl-k>from</span> <span class=pl-s>"./var/fnToString.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L11" data-line-number="11" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R11" data-line-number="11" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-v>ObjectFunctionString</span> <span class=pl-k>from</span> <span class=pl-s>"./var/ObjectFunctionString.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L12" data-line-number="12" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R12" data-line-number="12" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s1>support</span> <span class=pl-k>from</span> <span class=pl-s>"./var/support.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L13" data-line-number="13" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><span class="pl-k">import</span> <span class="pl-s1 x x-first x-last">isWindow</span> <span class="pl-k">from</span> <span class="pl-s">"./<span class="x x-first x-last">var/isWindow</span>.js"</span><span class="pl-kos">;</span></span></td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R13" data-line-number="13" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class="pl-k">import</span> <span class="pl-s1 x x-first x-last">isArrayLike</span> <span class="pl-k">from</span> <span class="pl-s">"./<span class="x x-first x-last">core/isArrayLike</span>.js"</span><span class="pl-kos">;</span></span></td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L14" data-line-number="14" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R14" data-line-number="14" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-v>DOMEval</span> <span class=pl-k>from</span> <span class=pl-s>"./core/DOMEval.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L15" data-line-number="15" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><span class=pl-k>import</span> <span class=pl-s1>toType</span> <span class=pl-k>from</span> <span class=pl-s>"./core/toType.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L16" data-line-number="16" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R15" data-line-number="15" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L17" data-line-number="17" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R16" data-line-number="16" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>var</span> <span class=pl-s1>version</span> <span class=pl-c1>=</span> <span class=pl-s>"@VERSION"</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="13c43c710dcb9beca9a76ad73e9a759d778df523c46ae52aa07e8ee78ee975ef" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L18" data-line-number="18" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R17" data-line-number="17" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="11"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" id="expand-down-link-11-diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" class="js-expand directional-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/4f5731ae1b90656f1655449deb0b4fdd4b84d4ca?diff=unified&direction=down&in_wiki_context=&last_left=18&last_right=17&left=398&left_hunk_size=17&mode=100644&path=src%2Fcore.js&right=397&right_hunk_size=4" data-left-range="19-207" data-right-range="18-206"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-01f4cf6c-4f67-4ed1-8a74-7508a12bda02" for="expand-down-link-11-diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> <a href="#diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" id="expand-up-link-11-diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" class="js-expand directional-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/4f5731ae1b90656f1655449deb0b4fdd4b84d4ca?diff=unified&direction=up&in_wiki_context=&last_left=18&last_right=17&left=398&left_hunk_size=17&mode=100644&path=src%2Fcore.js&right=397&right_hunk_size=4" data-left-range="208-397" data-right-range="207-396"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-56a3fe22-704e-4c96-9301-a6cc5ac46866" for="expand-up-link-11-diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -398,17 +397,4 @@ jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symb</td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L398" data-line-number="398" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R397" data-line-number="397" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>class2type</span><span class=pl-kos>[</span> <span class=pl-s>"[object "</span> <span class=pl-c1>+</span> <span class=pl-s1>name</span> <span class=pl-c1>+</span> <span class=pl-s>"]"</span> <span class=pl-kos>]</span> <span class=pl-c1>=</span> <span class=pl-s1>name</span><span class=pl-kos>.</span><span class=pl-en>toLowerCase</span><span class=pl-kos>(</span><span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L399" data-line-number="399" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R398" data-line-number="398" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L400" data-line-number="400" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R399" data-line-number="399" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L401" data-line-number="401" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><span class=pl-k>function</span> <span class=pl-en>isArrayLike</span><span class=pl-kos>(</span> <span class=pl-s1>obj</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L402" data-line-number="402" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><br></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L403" data-line-number="403" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>var</span> <span class=pl-s1>length</span> <span class=pl-c1>=</span> <span class=pl-c1>!</span><span class=pl-c1>!</span><span class=pl-s1>obj</span> <span class=pl-c1>&&</span> <span class=pl-s1>obj</span><span class=pl-kos>.</span><span class=pl-c1>length</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L404" data-line-number="404" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-s1>type</span> <span class=pl-c1>=</span> <span class=pl-en>toType</span><span class=pl-kos>(</span> <span class=pl-s1>obj</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L405" data-line-number="405" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><br></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L406" data-line-number="406" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-k>typeof</span> <span class=pl-s1>obj</span> <span class=pl-c1>===</span> <span class=pl-s>"function"</span> <span class=pl-c1>||</span> <span class=pl-en>isWindow</span><span class=pl-kos>(</span> <span class=pl-s1>obj</span> <span class=pl-kos>)</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L407" data-line-number="407" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>return</span> <span class=pl-c1>false</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L408" data-line-number="408" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L409" data-line-number="409" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><br></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L410" data-line-number="410" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>return</span> <span class=pl-s1>type</span> <span class=pl-c1>===</span> <span class=pl-s>"array"</span> <span class=pl-c1>||</span> <span class=pl-s1>length</span> <span class=pl-c1>===</span> <span class=pl-c1>0</span> <span class=pl-c1>||</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L411" data-line-number="411" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>typeof</span> <span class=pl-s1>length</span> <span class=pl-c1>===</span> <span class=pl-s>"number"</span> <span class=pl-c1>&&</span> <span class=pl-s1>length</span> <span class=pl-c1>></span> <span class=pl-c1>0</span> <span class=pl-c1>&&</span> <span class=pl-kos>(</span> <span class=pl-s1>length</span> <span class=pl-c1>-</span> <span class=pl-c1>1</span> <span class=pl-kos>)</span> <span class=pl-k>in</span> <span class=pl-s1>obj</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L412" data-line-number="412" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L413" data-line-number="413" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><br></span></td> </tr> <tr data-hunk="839ee60b90971aa2fde589a69a05adf06daf14b37881d491d59619245bcdccb7" class="show-top-border"> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3L414" data-line-number="414" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-8ab41fe13597e1554b5d6b4c227b5f123ff2d6726a7f3688a8b8d1224fe1d4f3R400" data-line-number="400" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>export</span> <span class=pl-k>default</span> <span class=pl-en>jQuery</span><span class=pl-kos>;</span></span></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="src/core/init.js" > <div id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".js" data-file-deleted="false" data-tagsearch-path="src/core/init.js" data-tagsearch-lang="JavaScript" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="src/core/init.js" data-short-path="a5ff088" data-anchor="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" data-file-type=".js" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/jquery/jquery/blob_expand/8fc24d8dd6b54aae34e626dfe72d5a7ebdffe6fc?anchor=diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f&diff=unified&direction=full&mode=100644&path=src%2Fcore%2Finit.js" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 54 changes: 30 additions & 24 deletions </span> <span class="diffstat" aria-hidden="true">54 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-deleted"></span><span class="diffstat-block-deleted"></span><span class="diffstat-block-neutral"></span></span> <span class="Truncate"> <a title="src/core/init.js" class="Link--primary Truncate-text" href="#diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f">src/core/init.js</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="src/core/init.js" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/src/core/init.js" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" id="expand-up-link-0-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/8fc24d8dd6b54aae34e626dfe72d5a7ebdffe6fc?diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=2&left_hunk_size=6&mode=100644&path=src%2Fcore%2Finit.js&right=2&right_hunk_size=7" data-left-range="1-1" data-right-range="1-1"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-4c8a2a7d-fc0d-42d7-a1ae-10fc8c8c66e8" for="expand-up-link-0-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -2,6 +2,7 @@</td> </tr> <tr data-hunk="b8af27f84e71c9ebecbd45b6f4407d311546da3dae3875672d1d3bc8c5b58dcc" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL2" data-line-number="2" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR2" data-line-number="2" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s1>jQuery</span> <span class=pl-k>from</span> <span class=pl-s>"../core.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="b8af27f84e71c9ebecbd45b6f4407d311546da3dae3875672d1d3bc8c5b58dcc" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL3" data-line-number="3" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR3" data-line-number="3" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-smi>document</span> <span class=pl-k>from</span> <span class=pl-s>"../var/document.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="b8af27f84e71c9ebecbd45b6f4407d311546da3dae3875672d1d3bc8c5b58dcc" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL4" data-line-number="4" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR4" data-line-number="4" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s1>rsingleTag</span> <span class=pl-k>from</span> <span class=pl-s>"./var/rsingleTag.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="b8af27f84e71c9ebecbd45b6f4407d311546da3dae3875672d1d3bc8c5b58dcc" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR5" data-line-number="5" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-k>import</span> <span class=pl-s1>isObviousHtml</span> <span class=pl-k>from</span> <span class=pl-s>"./isObviousHtml.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="b8af27f84e71c9ebecbd45b6f4407d311546da3dae3875672d1d3bc8c5b58dcc" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL5" data-line-number="5" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR6" data-line-number="6" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="b8af27f84e71c9ebecbd45b6f4407d311546da3dae3875672d1d3bc8c5b58dcc" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL6" data-line-number="6" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR7" data-line-number="7" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s>"../traversing/findFilter.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="b8af27f84e71c9ebecbd45b6f4407d311546da3dae3875672d1d3bc8c5b58dcc" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL7" data-line-number="7" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR8" data-line-number="8" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="8"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" id="expand-link-8-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" class="js-expand directional-expander single-expander" aria-label="Expand All" data-url="/jquery/jquery/blob_excerpt/8fc24d8dd6b54aae34e626dfe72d5a7ebdffe6fc?diff=unified&in_wiki_context=&last_left=7&last_right=8&left=26&left_hunk_size=20&mode=100644&path=src%2Fcore%2Finit.js&right=27&right_hunk_size=41" data-left-range="8-15" data-right-range="9-16"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-e081ac42-07db-46b5-b960-daa7d5d6e27c" for="expand-link-8-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand All</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -26,20 +27,41 @@ var rootjQuery,</td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL26" data-line-number="26" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR27" data-line-number="27" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-c>// so migrate can support jQuery.sub (gh-2101)</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL27" data-line-number="27" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR28" data-line-number="28" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>root</span> <span class=pl-c1>=</span> <span class=pl-s1>root</span> <span class=pl-c1>||</span> <span class=pl-s1>rootjQuery</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL28" data-line-number="28" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR29" data-line-number="29" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL29" data-line-number="29" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-c>// Handle HTML strings</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL30" data-line-number="30" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-k>typeof</span> <span class=pl-s1>selector</span> <span class=pl-c1>===</span> <span class=pl-s>"string"</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL31" data-line-number="31" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-s1>selector</span><span class=pl-kos>[</span> <span class=pl-c1>0</span> <span class=pl-kos>]</span> <span class=pl-c1>===</span> <span class=pl-s>"<"</span> <span class=pl-c1>&&</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL32" data-line-number="32" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-s1>selector</span><span class=pl-kos>[</span> <span class=pl-s1>selector</span><span class=pl-kos>.</span><span class=pl-c1>length</span> <span class=pl-c1>-</span> <span class=pl-c1>1</span> <span class=pl-kos>]</span> <span class=pl-c1>===</span> <span class=pl-s>">"</span> <span class=pl-c1>&&</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL33" data-line-number="33" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-s1>selector</span><span class=pl-kos>.</span><span class=pl-c1>length</span> <span class=pl-c1>>=</span> <span class=pl-c1>3</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR30" data-line-number="30" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// HANDLE: $(DOMElement)</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR31" data-line-number="31" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-s1>selector</span><span class=pl-kos>.</span><span class=pl-c1>nodeType</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR32" data-line-number="32" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-smi>this</span><span class=pl-kos>[</span> <span class=pl-c1>0</span> <span class=pl-kos>]</span> <span class=pl-c1>=</span> <span class=pl-s1>selector</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR33" data-line-number="33" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-smi>this</span><span class=pl-kos>.</span><span class=pl-c1>length</span> <span class=pl-c1>=</span> <span class=pl-c1>1</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR34" data-line-number="34" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-smi>this</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR35" data-line-number="35" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR36" data-line-number="36" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// HANDLE: $(function)</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR37" data-line-number="37" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// Shortcut for document ready</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR38" data-line-number="38" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-k>typeof</span> <span class=pl-s1>selector</span> <span class=pl-c1>===</span> <span class=pl-s>"function"</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR39" data-line-number="39" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-s1>root</span><span class=pl-kos>.</span><span class=pl-c1>ready</span> <span class=pl-c1>!==</span> <span class=pl-c1>undefined</span> ?</span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR40" data-line-number="40" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>root</span><span class=pl-kos>.</span><span class=pl-en>ready</span><span class=pl-kos>(</span> <span class=pl-s1>selector</span> <span class=pl-kos>)</span> :</span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR41" data-line-number="41" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR42" data-line-number="42" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// Execute immediately if ready is not present</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR43" data-line-number="43" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>selector</span><span class=pl-kos>(</span> <span class=pl-s1>jQuery</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR44" data-line-number="44" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR45" data-line-number="45" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL34" data-line-number="34" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR46" data-line-number="46" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL35" data-line-number="35" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-c>// Assume that strings that start and end with <> are HTML and skip the regex check</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR47" data-line-number="47" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// Handle obvious HTML strings</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR48" data-line-number="48" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>match</span> <span class=pl-c1>=</span> <span class=pl-s1>selector</span> <span class=pl-c1>+</span> <span class=pl-s>""</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR49" data-line-number="49" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-en>isObviousHtml</span><span class=pl-kos>(</span> <span class=pl-s1>match</span> <span class=pl-kos>)</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR50" data-line-number="50" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR51" data-line-number="51" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// Assume that strings that start and end with <> are HTML and skip</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR52" data-line-number="52" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// the regex check. This also handles browser-supported HTML wrappers</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR53" data-line-number="53" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// like TrustedHTML.</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL36" data-line-number="36" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR54" data-line-number="54" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>match</span> <span class=pl-c1>=</span> <span class=pl-kos>[</span> <span class=pl-c1>null</span><span class=pl-kos>,</span> <span class=pl-s1>selector</span><span class=pl-kos>,</span> <span class=pl-c1>null</span> <span class=pl-kos>]</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL37" data-line-number="37" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR55" data-line-number="55" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL38" data-line-number="38" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR56" data-line-number="56" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// Handle HTML strings or selectors</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR57" data-line-number="57" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-k>typeof</span> <span class=pl-s1>selector</span> <span class=pl-c1>===</span> <span class=pl-s>"string"</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL39" data-line-number="39" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR58" data-line-number="58" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>match</span> <span class=pl-c1>=</span> <span class=pl-s1>rquickExpr</span><span class=pl-kos>.</span><span class=pl-en>exec</span><span class=pl-kos>(</span> <span class=pl-s1>selector</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR59" data-line-number="59" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR60" data-line-number="60" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-s1>jQuery</span><span class=pl-kos>.</span><span class=pl-en>makeArray</span><span class=pl-kos>(</span> <span class=pl-s1>selector</span><span class=pl-kos>,</span> <span class=pl-smi>this</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL40" data-line-number="40" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR61" data-line-number="61" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL41" data-line-number="41" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR62" data-line-number="62" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL42" data-line-number="42" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR63" data-line-number="63" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-c>// Match html or make sure no context is specified for #id</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR64" data-line-number="64" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// Note: match[1] may be a string or a TrustedHTML wrapper</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL43" data-line-number="43" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR65" data-line-number="65" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-s1>match</span> <span class=pl-c1>&&</span> <span class=pl-kos>(</span> <span class=pl-s1>match</span><span class=pl-kos>[</span> <span class=pl-c1>1</span> <span class=pl-kos>]</span> <span class=pl-c1>||</span> <span class=pl-c1>!</span><span class=pl-s1>context</span> <span class=pl-kos>)</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL44" data-line-number="44" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR66" data-line-number="66" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="1b1ec7a405a24136664a1e2be375fd259f3eea948ccf89d31646b6d6c3f1cc21" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL45" data-line-number="45" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR67" data-line-number="67" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-c>// HANDLE: $(html) -> $(array)</span></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="57"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" id="expand-down-link-57-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" class="js-expand directional-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/8fc24d8dd6b54aae34e626dfe72d5a7ebdffe6fc?diff=unified&direction=down&in_wiki_context=&last_left=45&last_right=67&left=84&left_hunk_size=7&mode=100644&path=src%2Fcore%2Finit.js&right=106&right_hunk_size=7" data-left-range="46-63" data-right-range="68-85"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-d8758195-2f4a-4064-a1db-727a33b5ac08" for="expand-down-link-57-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> <a href="#diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" id="expand-up-link-57-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" class="js-expand directional-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/8fc24d8dd6b54aae34e626dfe72d5a7ebdffe6fc?diff=unified&direction=up&in_wiki_context=&last_left=45&last_right=67&left=84&left_hunk_size=7&mode=100644&path=src%2Fcore%2Finit.js&right=106&right_hunk_size=7" data-left-range="64-83" data-right-range="86-105"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-d4343547-58f2-4f84-8f87-02998bec5484" for="expand-up-link-57-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -84,7 +106,7 @@ var rootjQuery,</td> </tr> <tr data-hunk="5670a29e6095107b56513fe509730f7b3843a68ac071c8e025caf998c6b00e18" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL84" data-line-number="84" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR106" data-line-number="106" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>return</span> <span class=pl-smi>this</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="5670a29e6095107b56513fe509730f7b3843a68ac071c8e025caf998c6b00e18" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL85" data-line-number="85" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR107" data-line-number="107" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="5670a29e6095107b56513fe509730f7b3843a68ac071c8e025caf998c6b00e18" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL86" data-line-number="86" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR108" data-line-number="108" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="5670a29e6095107b56513fe509730f7b3843a68ac071c8e025caf998c6b00e18" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL87" data-line-number="87" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class="pl-c">// HANDLE: $(expr, $(...))</span></span></td> </tr> <tr data-hunk="5670a29e6095107b56513fe509730f7b3843a68ac071c8e025caf998c6b00e18" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR109" data-line-number="109" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class="pl-c">// HANDLE: $(expr<span class="x x-first x-last">) & $(expr</span>, $(...))</span></span></td> </tr> <tr data-hunk="5670a29e6095107b56513fe509730f7b3843a68ac071c8e025caf998c6b00e18" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL88" data-line-number="88" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR110" data-line-number="110" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-c1>!</span><span class=pl-s1>context</span> <span class=pl-c1>||</span> <span class=pl-s1>context</span><span class=pl-kos>.</span><span class=pl-c1>jquery</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="5670a29e6095107b56513fe509730f7b3843a68ac071c8e025caf998c6b00e18" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL89" data-line-number="89" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR111" data-line-number="111" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>return</span> <span class=pl-kos>(</span> <span class=pl-s1>context</span> <span class=pl-c1>||</span> <span class=pl-s1>root</span> <span class=pl-kos>)</span><span class=pl-kos>.</span><span class=pl-en>find</span><span class=pl-kos>(</span> <span class=pl-s1>selector</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="5670a29e6095107b56513fe509730f7b3843a68ac071c8e025caf998c6b00e18" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL90" data-line-number="90" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR112" data-line-number="112" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="66"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" id="expand-link-66-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" class="js-expand directional-expander single-expander" aria-label="Expand All" data-url="/jquery/jquery/blob_excerpt/8fc24d8dd6b54aae34e626dfe72d5a7ebdffe6fc?diff=unified&in_wiki_context=&last_left=90&last_right=112&left=93&left_hunk_size=24&mode=100644&path=src%2Fcore%2Finit.js&right=115&right_hunk_size=8" data-left-range="91-90" data-right-range="113-112"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-ac8467fc-dc57-42e4-9351-d39a85f769ac" for="expand-link-66-diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand All</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -93,24 +115,8 @@ var rootjQuery,</td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL93" data-line-number="93" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR115" data-line-number="115" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL94" data-line-number="94" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR116" data-line-number="116" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>return</span> <span class=pl-smi>this</span><span class=pl-kos>.</span><span class=pl-en>constructor</span><span class=pl-kos>(</span> <span class=pl-s1>context</span> <span class=pl-kos>)</span><span class=pl-kos>.</span><span class=pl-en>find</span><span class=pl-kos>(</span> <span class=pl-s1>selector</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL95" data-line-number="95" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR117" data-line-number="117" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL96" data-line-number="96" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><br></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL97" data-line-number="97" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-c>// HANDLE: $(DOMElement)</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL98" data-line-number="98" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-s1>selector</span><span class=pl-kos>.</span><span class=pl-c1>nodeType</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL99" data-line-number="99" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-smi>this</span><span class=pl-kos>[</span> <span class=pl-c1>0</span> <span class=pl-kos>]</span> <span class=pl-c1>=</span> <span class=pl-s1>selector</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL100" data-line-number="100" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-smi>this</span><span class=pl-kos>.</span><span class=pl-c1>length</span> <span class=pl-c1>=</span> <span class=pl-c1>1</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL101" data-line-number="101" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>return</span> <span class=pl-smi>this</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL102" data-line-number="102" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><br></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL103" data-line-number="103" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-c>// HANDLE: $(function)</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL104" data-line-number="104" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-c>// Shortcut for document ready</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL105" data-line-number="105" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-k>typeof</span> <span class=pl-s1>selector</span> <span class=pl-c1>===</span> <span class=pl-s>"function"</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL106" data-line-number="106" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>return</span> <span class=pl-s1>root</span><span class=pl-kos>.</span><span class=pl-c1>ready</span> <span class=pl-c1>!==</span> <span class=pl-c1>undefined</span> ?</span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL107" data-line-number="107" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-s1>root</span><span class=pl-kos>.</span><span class=pl-en>ready</span><span class=pl-kos>(</span> <span class=pl-s1>selector</span> <span class=pl-kos>)</span> :</span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL108" data-line-number="108" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><br></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL109" data-line-number="109" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-c>// Execute immediately if ready is not present</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL110" data-line-number="110" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-s1>selector</span><span class=pl-kos>(</span> <span class=pl-s1>jQuery</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL111" data-line-number="111" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR118" data-line-number="118" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL112" data-line-number="112" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR119" data-line-number="119" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL113" data-line-number="113" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class=pl-k>return</span> <span class=pl-s1>jQuery</span><span class=pl-kos>.</span><span class=pl-en>makeArray</span><span class=pl-kos>(</span> <span class=pl-s1>selector</span><span class=pl-kos>,</span> <span class=pl-smi>this</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL114" data-line-number="114" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR120" data-line-number="120" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL115" data-line-number="115" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR121" data-line-number="121" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="ed51d332a5847ae7384ffa1e3f5a248e09f80d0f0632dc98964241f1b276dd8f" class="show-top-border"> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fL116" data-line-number="116" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140fR122" data-line-number="122" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-c>// Give the init function the jQuery prototype for later instantiation</span></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" id="expand-down-link--diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/8fc24d8dd6b54aae34e626dfe72d5a7ebdffe6fc?diff=unified&direction=down&in_wiki_context=&last_left=116&last_right=122&left=127&left_hunk_size=&mode=100644&path=src%2Fcore%2Finit.js&right=127&right_hunk_size=" data-left-range="117-126" data-right-range="123-126"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-8d59f572-38c6-4c92-bd9f-b477c99c3c15" for="expand-down-link--diff-a5ff0889d361f80405fd8b197cb826138f93eeeb00d1009c015f96f59b2e140f" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="src/core/isArrayLike.js" > <div id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4e" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".js" data-file-deleted="false" data-tagsearch-path="src/core/isArrayLike.js" data-tagsearch-lang="JavaScript" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="src/core/isArrayLike.js" data-short-path="c19068f" data-anchor="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4e" data-file-type=".js" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <span class="sr-only"> 17 changes: 17 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">17 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="src/core/isArrayLike.js" class="Link--primary Truncate-text" href="#diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4e">src/core/isArrayLike.js</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="src/core/isArrayLike.js" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/src/core/isArrayLike.js" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4e" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr data-position="0"> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eHL0" class="blob-num blob-num-hunk non-expandable" data-line-number="..."></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eHR1" class="blob-num blob-num-hunk non-expandable" data-line-number="..."></td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -0,0 +1,17 @@</td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR1" data-line-number="1" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-k>import</span> <span class=pl-s1>toType</span> <span class=pl-k>from</span> <span class=pl-s>"./toType.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR2" data-line-number="2" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-k>import</span> <span class=pl-s1>isWindow</span> <span class=pl-k>from</span> <span class=pl-s>"../var/isWindow.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR3" data-line-number="3" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR4" data-line-number="4" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-k>function</span> <span class=pl-en>isArrayLike</span><span class=pl-kos>(</span> <span class=pl-s1>obj</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR5" data-line-number="5" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR6" data-line-number="6" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>var</span> <span class=pl-s1>length</span> <span class=pl-c1>=</span> <span class=pl-c1>!</span><span class=pl-c1>!</span><span class=pl-s1>obj</span> <span class=pl-c1>&&</span> <span class=pl-s1>obj</span><span class=pl-kos>.</span><span class=pl-c1>length</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR7" data-line-number="7" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>type</span> <span class=pl-c1>=</span> <span class=pl-en>toType</span><span class=pl-kos>(</span> <span class=pl-s1>obj</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR8" data-line-number="8" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR9" data-line-number="9" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-k>typeof</span> <span class=pl-s1>obj</span> <span class=pl-c1>===</span> <span class=pl-s>"function"</span> <span class=pl-c1>||</span> <span class=pl-en>isWindow</span><span class=pl-kos>(</span> <span class=pl-s1>obj</span> <span class=pl-kos>)</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR10" data-line-number="10" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-c1>false</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR11" data-line-number="11" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR12" data-line-number="12" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR13" data-line-number="13" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-s1>type</span> <span class=pl-c1>===</span> <span class=pl-s>"array"</span> <span class=pl-c1>||</span> <span class=pl-s1>length</span> <span class=pl-c1>===</span> <span class=pl-c1>0</span> <span class=pl-c1>||</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR14" data-line-number="14" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>typeof</span> <span class=pl-s1>length</span> <span class=pl-c1>===</span> <span class=pl-s>"number"</span> <span class=pl-c1>&&</span> <span class=pl-s1>length</span> <span class=pl-c1>></span> <span class=pl-c1>0</span> <span class=pl-c1>&&</span> <span class=pl-kos>(</span> <span class=pl-s1>length</span> <span class=pl-c1>-</span> <span class=pl-c1>1</span> <span class=pl-kos>)</span> <span class=pl-k>in</span> <span class=pl-s1>obj</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR15" data-line-number="15" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR16" data-line-number="16" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="2ddc3d51221d0c37a7a10a190d94b6d265ef1acf9d85faddb97774fbcfb6b767" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-c19068f04be3bd63c77fa4ddf5be51f1c489ab08ec8e0d6e9af9cd72e2f0de4eR17" data-line-number="17" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-k>export</span> <span class=pl-k>default</span> <span class=pl-s1>isArrayLike</span><span class=pl-kos>;</span></span></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="src/core/isObviousHtml.js" > <div id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38b" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".js" data-file-deleted="false" data-tagsearch-path="src/core/isObviousHtml.js" data-tagsearch-lang="JavaScript" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="src/core/isObviousHtml.js" data-short-path="57bd433" data-anchor="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38b" data-file-type=".js" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <span class="sr-only"> 7 changes: 7 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">7 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="src/core/isObviousHtml.js" class="Link--primary Truncate-text" href="#diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38b">src/core/isObviousHtml.js</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="src/core/isObviousHtml.js" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/src/core/isObviousHtml.js" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38b" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr data-position="0"> <td id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38bHL0" class="blob-num blob-num-hunk non-expandable" data-line-number="..."></td> <td id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38bHR1" class="blob-num blob-num-hunk non-expandable" data-line-number="..."></td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -0,0 +1,7 @@</td> </tr> <tr data-hunk="f3d892512059159e6c3b7300e157c7267e2debc968878d93c07fd55591d61080" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38bR1" data-line-number="1" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-k>function</span> <span class=pl-en>isObviousHtml</span><span class=pl-kos>(</span> <span class=pl-s1>input</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="f3d892512059159e6c3b7300e157c7267e2debc968878d93c07fd55591d61080" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38bR2" data-line-number="2" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-s1>input</span><span class=pl-kos>[</span> <span class=pl-c1>0</span> <span class=pl-kos>]</span> <span class=pl-c1>===</span> <span class=pl-s>"<"</span> <span class=pl-c1>&&</span></span></td> </tr> <tr data-hunk="f3d892512059159e6c3b7300e157c7267e2debc968878d93c07fd55591d61080" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38bR3" data-line-number="3" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>input</span><span class=pl-kos>[</span> <span class=pl-s1>input</span><span class=pl-kos>.</span><span class=pl-c1>length</span> <span class=pl-c1>-</span> <span class=pl-c1>1</span> <span class=pl-kos>]</span> <span class=pl-c1>===</span> <span class=pl-s>">"</span> <span class=pl-c1>&&</span></span></td> </tr> <tr data-hunk="f3d892512059159e6c3b7300e157c7267e2debc968878d93c07fd55591d61080" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38bR4" data-line-number="4" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>input</span><span class=pl-kos>.</span><span class=pl-c1>length</span> <span class=pl-c1>>=</span> <span class=pl-c1>3</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="f3d892512059159e6c3b7300e157c7267e2debc968878d93c07fd55591d61080" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38bR5" data-line-number="5" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="f3d892512059159e6c3b7300e157c7267e2debc968878d93c07fd55591d61080" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38bR6" data-line-number="6" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="f3d892512059159e6c3b7300e157c7267e2debc968878d93c07fd55591d61080" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-57bd4333c3e1ad22e6e27eceaf31416df1153b58b986d78883fd6031776ed38bR7" data-line-number="7" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-k>export</span> <span class=pl-k>default</span> <span class=pl-s1>isObviousHtml</span><span class=pl-kos>;</span></span></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="src/core/parseHTML.js" > <div id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".js" data-file-deleted="false" data-tagsearch-path="src/core/parseHTML.js" data-tagsearch-lang="JavaScript" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="src/core/parseHTML.js" data-short-path="3d80e6a" data-anchor="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" data-file-type=".js" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/jquery/jquery/blob_expand/b522a5f7be4484f111d1c1a970aa20cb021bc031?anchor=diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2&diff=unified&direction=full&mode=100644&path=src%2Fcore%2FparseHTML.js" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 5 changes: 3 additions & 2 deletions </span> <span class="diffstat" aria-hidden="true">5 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-deleted"></span><span class="diffstat-block-deleted"></span></span> <span class="Truncate"> <a title="src/core/parseHTML.js" class="Link--primary Truncate-text" href="#diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2">src/core/parseHTML.js</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="src/core/parseHTML.js" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/src/core/parseHTML.js" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" id="expand-up-link-0-diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/b522a5f7be4484f111d1c1a970aa20cb021bc031?diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=2&left_hunk_size=13&mode=100644&path=src%2Fcore%2FparseHTML.js&right=2&right_hunk_size=14" data-left-range="1-1" data-right-range="1-1"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-0058f495-8873-47f9-83bf-fc5f51c02673" for="expand-up-link-0-diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -2,13 +2,14 @@ import jQuery from "../core.js";</td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L2" data-line-number="2" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R2" data-line-number="2" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-smi>document</span> <span class=pl-k>from</span> <span class=pl-s>"../var/document.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L3" data-line-number="3" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R3" data-line-number="3" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s1>rsingleTag</span> <span class=pl-k>from</span> <span class=pl-s>"./var/rsingleTag.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L4" data-line-number="4" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R4" data-line-number="4" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s1>buildFragment</span> <span class=pl-k>from</span> <span class=pl-s>"../manipulation/buildFragment.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R5" data-line-number="5" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-k>import</span> <span class=pl-s1>isObviousHtml</span> <span class=pl-k>from</span> <span class=pl-s>"./isObviousHtml.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L5" data-line-number="5" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R6" data-line-number="6" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L6" data-line-number="6" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"><span class="pl-c">// Argument "data" should be string of html</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R7" data-line-number="7" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class="pl-c">// Argument "data" should be string of html<span class="x x-first x-last"> or a TrustedHTML wrapper of obvious HTML</span></span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L7" data-line-number="7" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R8" data-line-number="8" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-c>// context (optional): If specified, the fragment will be created in this context,</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L8" data-line-number="8" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R9" data-line-number="9" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-c>// defaults to document</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L9" data-line-number="9" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R10" data-line-number="10" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-c>// keepScripts (optional): If true, will include scripts passed in the html string</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L10" data-line-number="10" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R11" data-line-number="11" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-s1>jQuery</span><span class=pl-kos>.</span><span class=pl-en>parseHTML</span> <span class=pl-c1>=</span> <span class=pl-k>function</span><span class=pl-kos>(</span> <span class=pl-s1>data</span><span class=pl-kos>,</span> <span class=pl-s1>context</span><span class=pl-kos>,</span> <span class=pl-s1>keepScripts</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L11" data-line-number="11" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class="pl-k">if</span> <span class="pl-kos">(</span> <span class="pl-k">typeof</span> <span class="pl-s1">data</span> <span class="pl-c1">!==</span> <span class="pl-s">"string"</span> <span class="pl-kos">)</span> <span class="pl-kos">{</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R12" data-line-number="12" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class="pl-k">if</span> <span class="pl-kos">(</span> <span class="pl-k">typeof</span> <span class="pl-s1">data</span> <span class="pl-c1">!==</span> <span class="pl-s">"string"</span> <span class="pl-c1 x x-first">&&</span><span class="x"> </span><span class="pl-c1 x">!</span><span class="pl-en x">isObviousHtml</span><span class="pl-kos x">(</span><span class="x"> </span><span class="pl-s1 x">data</span><span class="x"> </span><span class="pl-c1 x">+</span><span class="x"> </span><span class="pl-s x">""</span><span class="x"> </span><span class="pl-kos x">)</span><span class="x x-last"> </span><span class="pl-kos">)</span> <span class="pl-kos">{</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L12" data-line-number="12" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R13" data-line-number="13" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>return</span> <span class=pl-kos>[</span><span class=pl-kos>]</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L13" data-line-number="13" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R14" data-line-number="14" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="ac6f556110ba49ee5de309549c40095a4681eee13c3963e453a6f6fdb25404f7" class="show-top-border"> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2L14" data-line-number="14" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2R15" data-line-number="15" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-k>typeof</span> <span class=pl-s1>context</span> <span class=pl-c1>===</span> <span class=pl-s>"boolean"</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" id="expand-down-link--diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/b522a5f7be4484f111d1c1a970aa20cb021bc031?diff=unified&direction=down&in_wiki_context=&last_left=14&last_right=15&left=52&left_hunk_size=&mode=100644&path=src%2Fcore%2FparseHTML.js&right=52&right_hunk_size=" data-left-range="15-51" data-right-range="16-51"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-54d6aa5f-aae2-467d-95f7-d07a1236624e" for="expand-down-link--diff-3d80e6a339894e09039774551cd9115f0a72afff44d5817ff99ba393e29cc7a2" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="src/manipulation/buildFragment.js" > <div id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".js" data-file-deleted="false" data-tagsearch-path="src/manipulation/buildFragment.js" data-tagsearch-lang="JavaScript" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="src/manipulation/buildFragment.js" data-short-path="bf178e6" data-anchor="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" data-file-type=".js" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/jquery/jquery/blob_expand/d6f8e57832ac4079eefd2ffb344465eede527d23?anchor=diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3&diff=unified&direction=full&mode=100644&path=src%2Fmanipulation%2FbuildFragment.js" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 3 changes: 2 additions & 1 deletion </span> <span class="diffstat" aria-hidden="true">3 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-deleted"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span></span> <span class="Truncate"> <a title="src/manipulation/buildFragment.js" class="Link--primary Truncate-text" href="#diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3">src/manipulation/buildFragment.js</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="src/manipulation/buildFragment.js" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/src/manipulation/buildFragment.js" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" id="expand-up-link-0-diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/d6f8e57832ac4079eefd2ffb344465eede527d23?diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=7&left_hunk_size=6&mode=100644&path=src%2Fmanipulation%2FbuildFragment.js&right=7&right_hunk_size=7" data-left-range="1-6" data-right-range="1-6"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-1e1b4e26-e874-4e17-8fd7-72bc3f32f261" for="expand-up-link-0-diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -7,6 +7,7 @@ import rscriptType from "./var/rscriptType.js";</td> </tr> <tr data-hunk="5b2f0c3067c90a6b3317f8388758d62cce30c2c9e0df6a66bce58576c7028233" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L7" data-line-number="7" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R7" data-line-number="7" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s1>wrapMap</span> <span class=pl-k>from</span> <span class=pl-s>"./wrapMap.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="5b2f0c3067c90a6b3317f8388758d62cce30c2c9e0df6a66bce58576c7028233" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L8" data-line-number="8" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R8" data-line-number="8" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s1>getAll</span> <span class=pl-k>from</span> <span class=pl-s>"./getAll.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="5b2f0c3067c90a6b3317f8388758d62cce30c2c9e0df6a66bce58576c7028233" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L9" data-line-number="9" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R9" data-line-number="9" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>import</span> <span class=pl-s1>setGlobalEval</span> <span class=pl-k>from</span> <span class=pl-s>"./setGlobalEval.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="5b2f0c3067c90a6b3317f8388758d62cce30c2c9e0df6a66bce58576c7028233" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R10" data-line-number="10" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-k>import</span> <span class=pl-s1>isArrayLike</span> <span class=pl-k>from</span> <span class=pl-s>"../core/isArrayLike.js"</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="5b2f0c3067c90a6b3317f8388758d62cce30c2c9e0df6a66bce58576c7028233" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L10" data-line-number="10" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R11" data-line-number="11" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="5b2f0c3067c90a6b3317f8388758d62cce30c2c9e0df6a66bce58576c7028233" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L11" data-line-number="11" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R12" data-line-number="12" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-k>var</span> <span class=pl-s1>rhtml</span> <span class=pl-c1>=</span> <span class=pl-pds><span class=pl-c1>/</span><|&#?\w+;<span class=pl-c1>/</span></span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="5b2f0c3067c90a6b3317f8388758d62cce30c2c9e0df6a66bce58576c7028233" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L12" data-line-number="12" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R13" data-line-number="13" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="8"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" id="expand-link-8-diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" class="js-expand directional-expander single-expander" aria-label="Expand All" data-url="/jquery/jquery/blob_excerpt/d6f8e57832ac4079eefd2ffb344465eede527d23?diff=unified&in_wiki_context=&last_left=12&last_right=13&left=23&left_hunk_size=7&mode=100644&path=src%2Fmanipulation%2FbuildFragment.js&right=24&right_hunk_size=7" data-left-range="13-16" data-right-range="14-17"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-f3f22c43-d3c1-414f-9c4c-e7cbf7dcdc51" for="expand-link-8-diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand All</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -23,7 +24,7 @@ function buildFragment( elems, context, scripts, selection, ignored ) {</td> </tr> <tr data-hunk="fa673ef9ef872a6c7d8f4f7de9530878c4576e54c60c0647a95004b0dfb43173" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L23" data-line-number="23" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R24" data-line-number="24" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-s1>elem</span> <span class=pl-c1>||</span> <span class=pl-s1>elem</span> <span class=pl-c1>===</span> <span class=pl-c1>0</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="fa673ef9ef872a6c7d8f4f7de9530878c4576e54c60c0647a95004b0dfb43173" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L24" data-line-number="24" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R25" data-line-number="25" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="fa673ef9ef872a6c7d8f4f7de9530878c4576e54c60c0647a95004b0dfb43173" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L25" data-line-number="25" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R26" data-line-number="26" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-c>// Add nodes directly</span></span></td> </tr> <tr data-hunk="fa673ef9ef872a6c7d8f4f7de9530878c4576e54c60c0647a95004b0dfb43173" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L26" data-line-number="26" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class="pl-k">if</span> <span class="pl-kos">(</span> <span class="pl-en">toType</span><span class="pl-kos">(</span> <span class="pl-s1">elem</span> <span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-s">"object"</span> <span class="pl-kos">)</span> <span class="pl-kos">{</span></span></td> </tr> <tr data-hunk="fa673ef9ef872a6c7d8f4f7de9530878c4576e54c60c0647a95004b0dfb43173" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R27" data-line-number="27" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class="pl-k">if</span> <span class="pl-kos">(</span> <span class="pl-en">toType</span><span class="pl-kos">(</span> <span class="pl-s1">elem</span> <span class="pl-kos">)</span> <span class="pl-c1">===</span> <span class="pl-s">"object"</span> <span class="pl-c1 x x-first">&&</span><span class="x"> </span><span class="pl-kos x">(</span><span class="x"> </span><span class="pl-s1 x">elem</span><span class="pl-kos x">.</span><span class="pl-c1 x">nodeType</span><span class="x"> </span><span class="pl-c1 x">||</span><span class="x"> </span><span class="pl-en x">isArrayLike</span><span class="pl-kos x">(</span><span class="x"> </span><span class="pl-s1 x">elem</span><span class="x"> </span><span class="pl-kos x">)</span><span class="x"> </span><span class="pl-kos x">)</span><span class="x x-last"> </span><span class="pl-kos">)</span> <span class="pl-kos">{</span></span></td> </tr> <tr data-hunk="fa673ef9ef872a6c7d8f4f7de9530878c4576e54c60c0647a95004b0dfb43173" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L27" data-line-number="27" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R28" data-line-number="28" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>jQuery</span><span class=pl-kos>.</span><span class=pl-en>merge</span><span class=pl-kos>(</span> <span class=pl-s1>nodes</span><span class=pl-kos>,</span> <span class=pl-s1>elem</span><span class=pl-kos>.</span><span class=pl-c1>nodeType</span> ? <span class=pl-kos>[</span> <span class=pl-s1>elem</span> <span class=pl-kos>]</span> : <span class=pl-s1>elem</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="fa673ef9ef872a6c7d8f4f7de9530878c4576e54c60c0647a95004b0dfb43173" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L28" data-line-number="28" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R29" data-line-number="29" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="fa673ef9ef872a6c7d8f4f7de9530878c4576e54c60c0647a95004b0dfb43173" class="show-top-border"> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3L29" data-line-number="29" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3R30" data-line-number="30" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-c>// Convert non-html into a text node</span></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" id="expand-down-link--diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/d6f8e57832ac4079eefd2ffb344465eede527d23?diff=unified&direction=down&in_wiki_context=&last_left=29&last_right=30&left=100&left_hunk_size=&mode=100644&path=src%2Fmanipulation%2FbuildFragment.js&right=100&right_hunk_size=" data-left-range="30-99" data-right-range="31-99"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-1f642909-ac4d-4519-a16c-4b7f5eb1d2ba" for="expand-down-link--diff-bf178e634ca0deb06cff569a5369f20c09ee63653a75de5ef94815e5cd7a15f3" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="test/.eslintrc.json" > <div id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".json" data-file-deleted="false" data-tagsearch-path="test/.eslintrc.json" data-tagsearch-lang="JSON with Comments" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="test/.eslintrc.json" data-short-path="6850932" data-anchor="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" data-file-type=".json" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/jquery/jquery/blob_expand/a5509180d1758e2c8413defe7b35503cb4528b01?anchor=diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a&diff=unified&direction=full&mode=100644&path=test%2F.eslintrc.json" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 1 change: 1 addition & 0 deletions </span> <span class="diffstat" aria-hidden="true">1 <span class="diffstat-block-added"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span></span> <span class="Truncate"> <a title="test/.eslintrc.json" class="Link--primary Truncate-text" href="#diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a">test/.eslintrc.json</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="test/.eslintrc.json" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/test/.eslintrc.json" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" id="expand-up-link-0-diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/a5509180d1758e2c8413defe7b35503cb4528b01?diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=14&left_hunk_size=6&mode=100644&path=test%2F.eslintrc.json&right=14&right_hunk_size=7" data-left-range="1-13" data-right-range="1-13"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-c2e6644c-a718-412d-b04a-ccf501871c8a" for="expand-up-link-0-diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -14,6 +14,7 @@</td> </tr> <tr data-hunk="819ef1ffc835bbbfe10ac880de99e05ba65e2e87d7972b6c248aa275867e6c54" class="show-top-border"> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aL14" data-line-number="14" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aR14" data-line-number="14" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s>"require"</span>: <span class=pl-c1>false</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="819ef1ffc835bbbfe10ac880de99e05ba65e2e87d7972b6c248aa275867e6c54" class="show-top-border"> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aL15" data-line-number="15" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aR15" data-line-number="15" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s>"Promise"</span>: <span class=pl-c1>false</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="819ef1ffc835bbbfe10ac880de99e05ba65e2e87d7972b6c248aa275867e6c54" class="show-top-border"> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aL16" data-line-number="16" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aR16" data-line-number="16" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s>"Symbol"</span>: <span class=pl-c1>false</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="819ef1ffc835bbbfe10ac880de99e05ba65e2e87d7972b6c248aa275867e6c54" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aR17" data-line-number="17" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s>"trustedTypes"</span>: <span class=pl-c1>false</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="819ef1ffc835bbbfe10ac880de99e05ba65e2e87d7972b6c248aa275867e6c54" class="show-top-border"> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aL17" data-line-number="17" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aR18" data-line-number="18" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s>"QUnit"</span>: <span class=pl-c1>false</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="819ef1ffc835bbbfe10ac880de99e05ba65e2e87d7972b6c248aa275867e6c54" class="show-top-border"> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aL18" data-line-number="18" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aR19" data-line-number="19" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s>"ajaxTest"</span>: <span class=pl-c1>false</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="819ef1ffc835bbbfe10ac880de99e05ba65e2e87d7972b6c248aa275867e6c54" class="show-top-border"> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aL19" data-line-number="19" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46aR20" data-line-number="20" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s>"testIframe"</span>: <span class=pl-c1>false</span><span class=pl-kos>,</span></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" id="expand-down-link--diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/a5509180d1758e2c8413defe7b35503cb4528b01?diff=unified&direction=down&in_wiki_context=&last_left=19&last_right=20&left=81&left_hunk_size=&mode=100644&path=test%2F.eslintrc.json&right=81&right_hunk_size=" data-left-range="20-80" data-right-range="21-80"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-460cd73f-dac4-442e-9a84-36378d66dc85" for="expand-down-link--diff-6850932c1336bea54c1e364acc1435ba1eccd190ddae4bafe0d4d8fa9face46a" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="test/data/csp.include.html" > <div id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".html" data-file-deleted="false" data-tagsearch-path="test/data/csp.include.html" data-tagsearch-lang="HTML" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="test/data/csp.include.html" data-short-path="ab7a1ca" data-anchor="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" data-file-type=".html" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/jquery/jquery/blob_expand/59b87f212ab708c8e2d3790c941c1eda31cfc8a6?anchor=diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544&diff=unified&direction=full&mode=100644&path=test%2Fdata%2Fcsp.include.html" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 2 changes: 1 addition & 1 deletion </span> <span class="diffstat" aria-hidden="true">2 <span class="diffstat-block-added"></span><span class="diffstat-block-deleted"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span><span class="diffstat-block-neutral"></span></span> <span class="Truncate"> <a title="test/data/csp.include.html" class="Link--primary Truncate-text" href="#diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544">test/data/csp.include.html</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="test/data/csp.include.html" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/test/data/csp.include.html" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" id="expand-up-link-0-diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/59b87f212ab708c8e2d3790c941c1eda31cfc8a6?diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=3&left_hunk_size=7&mode=100644&path=test%2Fdata%2Fcsp.include.html&right=3&right_hunk_size=7" data-left-range="1-2" data-right-range="1-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-068c3a6f-9b05-450f-ac7c-9e4a2516ad92" for="expand-up-link-0-diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -3,7 +3,7 @@</td> </tr> <tr data-hunk="2366c504756d32a15b49a3b1ff9355127b0c113ef3938adb24b7a1b92b8d9f68" class="show-top-border"> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544L3" data-line-number="3" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544R3" data-line-number="3" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-kos><</span><span class=pl-ent>head</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="2366c504756d32a15b49a3b1ff9355127b0c113ef3938adb24b7a1b92b8d9f68" class="show-top-border"> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544L4" data-line-number="4" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544R4" data-line-number="4" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos><</span><span class=pl-ent>meta</span> <span class=pl-c1>http-equiv</span>="<span class=pl-s>Content-Type</span>" <span class=pl-c1>content</span>="<span class=pl-s>text/html; charset=utf-8</span>" /></span></td> </tr> <tr data-hunk="2366c504756d32a15b49a3b1ff9355127b0c113ef3938adb24b7a1b92b8d9f68" class="show-top-border"> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544L5" data-line-number="5" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544R5" data-line-number="5" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos><</span><span class=pl-ent>title</span><span class=pl-kos>></span>CSP Test Page<span class=pl-kos></</span><span class=pl-ent>title</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="2366c504756d32a15b49a3b1ff9355127b0c113ef3938adb24b7a1b92b8d9f68" class="show-top-border"> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544L6" data-line-number="6" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">../jquery.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span></span></td> </tr> <tr data-hunk="2366c504756d32a15b49a3b1ff9355127b0c113ef3938adb24b7a1b92b8d9f68" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544R6" data-line-number="6" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">../<span class="x x-first x-last">../dist/</span>jquery<span class="x x-first x-last">.min</span>.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span></span></td> </tr> <tr data-hunk="2366c504756d32a15b49a3b1ff9355127b0c113ef3938adb24b7a1b92b8d9f68" class="show-top-border"> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544L7" data-line-number="7" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544R7" data-line-number="7" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos><</span><span class=pl-ent>script</span> <span class=pl-c1>src</span>="<span class=pl-s>iframeTest.js</span>"<span class=pl-kos>></span><span class=pl-kos></</span><span class=pl-ent>script</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="2366c504756d32a15b49a3b1ff9355127b0c113ef3938adb24b7a1b92b8d9f68" class="show-top-border"> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544L8" data-line-number="8" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544R8" data-line-number="8" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos><</span><span class=pl-ent>script</span> <span class=pl-c1>src</span>="<span class=pl-s>support/csp.js</span>"<span class=pl-kos>></span><span class=pl-kos></</span><span class=pl-ent>script</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="2366c504756d32a15b49a3b1ff9355127b0c113ef3938adb24b7a1b92b8d9f68" class="show-top-border"> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544L9" data-line-number="9" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544R9" data-line-number="9" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos><</span><span class=pl-ent>script</span> <span class=pl-c1>src</span>="<span class=pl-s>support/getComputedSupport.js</span>"<span class=pl-kos>></span><span class=pl-kos></</span><span class=pl-ent>script</span><span class=pl-kos>></span></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" id="expand-down-link--diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/59b87f212ab708c8e2d3790c941c1eda31cfc8a6?diff=unified&direction=down&in_wiki_context=&last_left=9&last_right=9&left=15&left_hunk_size=&mode=100644&path=test%2Fdata%2Fcsp.include.html&right=15&right_hunk_size=" data-left-range="10-14" data-right-range="10-14"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-2c791b73-772d-4cc3-9eec-cfb0d6e29e71" for="expand-down-link--diff-ab7a1ca4ed1d8ba8c33385827a98c1811a71dc7c617e9ea15e4e4eed22e9b544" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="test/data/mock.php" > <div id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".php" data-file-deleted="false" data-tagsearch-path="test/data/mock.php" data-tagsearch-lang="PHP" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="test/data/mock.php" data-short-path="42a451a" data-anchor="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" data-file-type=".php" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/jquery/jquery/blob_expand/268ad06efefdc46b42f6eb1de48786663da088e5?anchor=diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed&diff=unified&direction=full&mode=100644&path=test%2Fdata%2Fmock.php" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 10 changes: 8 additions & 2 deletions </span> <span class="diffstat" aria-hidden="true">10 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-deleted"></span></span> <span class="Truncate"> <a title="test/data/mock.php" class="Link--primary Truncate-text" href="#diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed">test/data/mock.php</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="test/data/mock.php" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/test/data/mock.php" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" id="expand-up-link-0-diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/268ad06efefdc46b42f6eb1de48786663da088e5?diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=215&left_hunk_size=7&mode=100644&path=test%2Fdata%2Fmock.php&right=215&right_hunk_size=7" data-left-range="1-214" data-right-range="1-214"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-8630c60a-86ac-4121-b713-6635b6a102b5" for="expand-up-link-0-diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -215,7 +215,7 @@ protected function testHTML( $req ) {</td> </tr> <tr data-hunk="5c4c47c14b2a07965411b45938a9d9608f764523385d7458bee3c1d87a7558e6" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL215" data-line-number="215" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR215" data-line-number="215" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr data-hunk="5c4c47c14b2a07965411b45938a9d9608f764523385d7458bee3c1d87a7558e6" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL216" data-line-number="216" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR216" data-line-number="216" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="5c4c47c14b2a07965411b45938a9d9608f764523385d7458bee3c1d87a7558e6" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL217" data-line-number="217" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR217" data-line-number="217" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>protected</span> <span class=pl-k>function</span> <span class=pl-en>cspFrame</span>( <span class=pl-s1><span class=pl-c1>$</span>req</span> ) {</span></td> </tr> <tr data-hunk="5c4c47c14b2a07965411b45938a9d9608f764523385d7458bee3c1d87a7558e6" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL218" data-line-number="218" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class="pl-en">header</span>( <span class="pl-s">"<span class="pl-s">Content-Security-Policy: default-src 'self'; report-uri ./mock.php?action=cspLog</span>"</span> );</span></td> </tr> <tr data-hunk="5c4c47c14b2a07965411b45938a9d9608f764523385d7458bee3c1d87a7558e6" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR218" data-line-number="218" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class="pl-en">header</span>( <span class="pl-s">"<span class="pl-s">Content-Security-Policy: default-src 'self'; <span class="x x-first x-last">require-trusted-types-for 'script'; </span>report-uri ./mock.php?action=cspLog</span>"</span> );</span></td> </tr> <tr data-hunk="5c4c47c14b2a07965411b45938a9d9608f764523385d7458bee3c1d87a7558e6" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL219" data-line-number="219" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR219" data-line-number="219" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-en>header</span>( <span class=pl-s>'<span class=pl-s>Content-type: text/html</span>'</span> );</span></td> </tr> <tr data-hunk="5c4c47c14b2a07965411b45938a9d9608f764523385d7458bee3c1d87a7558e6" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL220" data-line-number="220" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR220" data-line-number="220" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>echo</span> <span class=pl-en>file_get_contents</span>( <span class=pl-c1>__DIR__</span> . <span class=pl-s>'<span class=pl-s>/csp.include.html</span>'</span> );</span></td> </tr> <tr data-hunk="5c4c47c14b2a07965411b45938a9d9608f764523385d7458bee3c1d87a7558e6" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL221" data-line-number="221" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR221" data-line-number="221" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="9"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" id="expand-link-9-diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" class="js-expand directional-expander single-expander" aria-label="Expand All" data-url="/jquery/jquery/blob_excerpt/268ad06efefdc46b42f6eb1de48786663da088e5?diff=unified&in_wiki_context=&last_left=221&last_right=221&left=228&left_hunk_size=7&mode=100644&path=test%2Fdata%2Fmock.php&right=228&right_hunk_size=7" data-left-range="222-223" data-right-range="222-223"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-3faa16a2-fc6c-4385-b82f-eb5a1eaab505" for="expand-link-9-diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand All</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -228,7 +228,7 @@ protected function cspNonce( $req ) {</td> </tr> <tr data-hunk="b125f5d00523675d61ac20dac786f2fc178085cda8a41709b1903b95442a4862" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL228" data-line-number="228" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR228" data-line-number="228" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr data-hunk="b125f5d00523675d61ac20dac786f2fc178085cda8a41709b1903b95442a4862" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL229" data-line-number="229" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR229" data-line-number="229" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="b125f5d00523675d61ac20dac786f2fc178085cda8a41709b1903b95442a4862" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL230" data-line-number="230" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR230" data-line-number="230" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>protected</span> <span class=pl-k>function</span> <span class=pl-en>cspAjaxScript</span>( <span class=pl-s1><span class=pl-c1>$</span>req</span> ) {</span></td> </tr> <tr data-hunk="b125f5d00523675d61ac20dac786f2fc178085cda8a41709b1903b95442a4862" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL231" data-line-number="231" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class="pl-en">header</span>( <span class="pl-s">"<span class="pl-s">Content-Security-Policy: script-src 'self'; report-uri <span class="x x-first x-last">/base/test/data</span>/mock.php?action=cspLog</span>"</span> );</span></td> </tr> <tr data-hunk="b125f5d00523675d61ac20dac786f2fc178085cda8a41709b1903b95442a4862" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR231" data-line-number="231" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class="pl-en">header</span>( <span class="pl-s">"<span class="pl-s">Content-Security-Policy: script-src 'self'; report-uri <span class="x x-first x-last">.</span>/mock.php?action=cspLog</span>"</span> );</span></td> </tr> <tr data-hunk="b125f5d00523675d61ac20dac786f2fc178085cda8a41709b1903b95442a4862" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL232" data-line-number="232" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR232" data-line-number="232" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-en>header</span>( <span class=pl-s>'<span class=pl-s>Content-type: text/html</span>'</span> );</span></td> </tr> <tr data-hunk="b125f5d00523675d61ac20dac786f2fc178085cda8a41709b1903b95442a4862" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL233" data-line-number="233" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR233" data-line-number="233" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>echo</span> <span class=pl-en>file_get_contents</span>( <span class=pl-c1>__DIR__</span> . <span class=pl-s>'<span class=pl-s>/csp-ajax-script.html</span>'</span> );</span></td> </tr> <tr data-hunk="b125f5d00523675d61ac20dac786f2fc178085cda8a41709b1903b95442a4862" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL234" data-line-number="234" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR234" data-line-number="234" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="18"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" id="expand-link-18-diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" class="js-expand directional-expander single-expander" aria-label="Expand All" data-url="/jquery/jquery/blob_excerpt/268ad06efefdc46b42f6eb1de48786663da088e5?diff=unified&in_wiki_context=&last_left=234&last_right=234&left=241&left_hunk_size=6&mode=100644&path=test%2Fdata%2Fmock.php&right=241&right_hunk_size=12" data-left-range="235-236" data-right-range="235-236"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-a53a3aa5-5e42-4d9c-a99c-5b5b0e399abd" for="expand-link-18-diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand All</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -241,6 +241,12 @@ protected function cspClean( $req ) {</td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL241" data-line-number="241" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR241" data-line-number="241" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-en>file_put_contents</span>( <span class=pl-s1><span class=pl-c1>$</span><span class=pl-smi>this</span></span>-><span class=pl-c1>cspFile</span>, <span class=pl-s>''</span> );</span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL242" data-line-number="242" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR242" data-line-number="242" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> }</span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL243" data-line-number="243" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR243" data-line-number="243" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><br></span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR244" data-line-number="244" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>protected</span> <span class=pl-k>function</span> <span class=pl-en>trustedHtml</span>( <span class=pl-s1><span class=pl-c1>$</span>req</span> ) {</span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR245" data-line-number="245" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-en>header</span>( <span class=pl-s>"<span class=pl-s>Content-Security-Policy: require-trusted-types-for 'script'; report-uri ./mock.php?action=cspLog</span>"</span> );</span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR246" data-line-number="246" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-en>header</span>( <span class=pl-s>'<span class=pl-s>Content-type: text/html</span>'</span> );</span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR247" data-line-number="247" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>echo</span> <span class=pl-en>file_get_contents</span>( <span class=pl-c1>__DIR__</span> . <span class=pl-s>'<span class=pl-s>/trusted-html.html</span>'</span> );</span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR248" data-line-number="248" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> }</span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR249" data-line-number="249" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL244" data-line-number="244" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR250" data-line-number="250" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>protected</span> <span class=pl-k>function</span> <span class=pl-en>errorWithScript</span>( <span class=pl-s1><span class=pl-c1>$</span>req</span> ) {</span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL245" data-line-number="245" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR251" data-line-number="251" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-en>header</span>( <span class=pl-s>'<span class=pl-s>HTTP/1.0 404 Not Found</span>'</span> );</span></td> </tr> <tr data-hunk="4ff053603f4f9bca2fc3719bc996182b1a9e3426eaff1ce0472d99979ec96a04" class="show-top-border"> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedL246" data-line-number="246" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deedR252" data-line-number="252" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>if</span> ( <span class=pl-en>isset</span>( <span class=pl-s1><span class=pl-c1>$</span>req</span>-><span class=pl-c1>query</span>[<span class=pl-s>'<span class=pl-s>withScriptContentType</span>'</span>] ) ) {</span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" id="expand-down-link--diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/268ad06efefdc46b42f6eb1de48786663da088e5?diff=unified&direction=down&in_wiki_context=&last_left=246&last_right=252&left=301&left_hunk_size=&mode=100644&path=test%2Fdata%2Fmock.php&right=301&right_hunk_size=" data-left-range="247-300" data-right-range="253-300"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-e2cf40db-6a36-4eab-a50d-d8e5d9cd9c1f" for="expand-down-link--diff-42a451a599d604d521ddc9628f6c2d9333a46b88ff92877b87c3534b8801deed" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="test/data/trusted-html.html" > <div id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431a" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".html" data-file-deleted="false" data-tagsearch-path="test/data/trusted-html.html" data-tagsearch-lang="HTML" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="test/data/trusted-html.html" data-short-path="7eb2678" data-anchor="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431a" data-file-type=".html" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <span class="sr-only"> 75 changes: 75 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">75 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="test/data/trusted-html.html" class="Link--primary Truncate-text" href="#diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431a">test/data/trusted-html.html</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="test/data/trusted-html.html" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/test/data/trusted-html.html" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431a" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr data-position="0"> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aHL0" class="blob-num blob-num-hunk non-expandable" data-line-number="..."></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aHR1" class="blob-num blob-num-hunk non-expandable" data-line-number="..."></td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -0,0 +1,75 @@</td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR1" data-line-number="1" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-c1><!DOCTYPE html<span class=pl-kos>></span></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR2" data-line-number="2" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos><</span><span class=pl-ent>html</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR3" data-line-number="3" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos><</span><span class=pl-ent>head</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR4" data-line-number="4" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos><</span><span class=pl-ent>meta</span> <span class=pl-c1>charset</span>=<span class=pl-s>utf-8</span> /></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR5" data-line-number="5" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos><</span><span class=pl-ent>title</span><span class=pl-kos>></span>body<span class=pl-kos></</span><span class=pl-ent>title</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR6" data-line-number="6" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos></</span><span class=pl-ent>head</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR7" data-line-number="7" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos><</span><span class=pl-ent>body</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR8" data-line-number="8" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos><</span><span class=pl-ent>div</span> <span class=pl-c1>id</span>="<span class=pl-s>qunit-fixture</span>"<span class=pl-kos>></span><span class=pl-kos></</span><span class=pl-ent>div</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR9" data-line-number="9" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos><</span><span class=pl-ent>script</span> <span class=pl-c1>src</span>="<span class=pl-s>../../dist/jquery.min.js</span>"<span class=pl-kos>></span><span class=pl-kos></</span><span class=pl-ent>script</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR10" data-line-number="10" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos><</span><span class=pl-ent>script</span> <span class=pl-c1>src</span>="<span class=pl-s>iframeTest.js</span>"<span class=pl-kos>></span><span class=pl-kos></</span><span class=pl-ent>script</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR11" data-line-number="11" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos><</span><span class=pl-ent>script</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR12" data-line-number="12" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>var</span> <span class=pl-s1>i</span><span class=pl-kos>,</span> <span class=pl-s1>input</span><span class=pl-kos>,</span> <span class=pl-s1>elem</span><span class=pl-kos>,</span> <span class=pl-s1>tags</span><span class=pl-kos>,</span> <span class=pl-s1>policy</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR13" data-line-number="13" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>results</span> <span class=pl-c1>=</span> <span class=pl-kos>[</span><span class=pl-kos>]</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR14" data-line-number="14" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>inputs</span> <span class=pl-c1>=</span> <span class=pl-kos>[</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR15" data-line-number="15" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>[</span> <span class=pl-s>"<div></div>"</span><span class=pl-kos>,</span> <span class=pl-s>"<div class='test'></div>"</span><span class=pl-kos>,</span> <span class=pl-kos>[</span> <span class=pl-s>"div"</span> <span class=pl-kos>]</span> <span class=pl-kos>]</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR16" data-line-number="16" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>[</span> <span class=pl-s>"<div></div>"</span><span class=pl-kos>,</span> <span class=pl-s>"<div class='test'></div><span class='test'></span>"</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR17" data-line-number="17" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>[</span> <span class=pl-s>"div"</span><span class=pl-kos>,</span> <span class=pl-s>"span"</span> <span class=pl-kos>]</span> <span class=pl-kos>]</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR18" data-line-number="18" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>[</span> <span class=pl-s>"<table></table>"</span><span class=pl-kos>,</span> <span class=pl-s>"<td class='test'></td>"</span><span class=pl-kos>,</span> <span class=pl-kos>[</span> <span class=pl-s>"td"</span> <span class=pl-kos>]</span> <span class=pl-kos>]</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR19" data-line-number="19" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>[</span> <span class=pl-s>"<select></select>"</span><span class=pl-kos>,</span> <span class=pl-s>"<option class='test'></option>"</span><span class=pl-kos>,</span> <span class=pl-kos>[</span> <span class=pl-s>"option"</span> <span class=pl-kos>]</span> <span class=pl-kos>]</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR20" data-line-number="20" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>]</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR21" data-line-number="21" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR22" data-line-number="22" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>function</span> <span class=pl-en>runTests</span><span class=pl-kos>(</span> <span class=pl-s1>messagePrefix</span><span class=pl-kos>,</span> <span class=pl-s1>getHtmlWrapper</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR23" data-line-number="23" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>for</span> <span class=pl-kos>(</span> <span class=pl-s1>i</span> <span class=pl-c1>=</span> <span class=pl-c1>0</span><span class=pl-kos>;</span> <span class=pl-s1>i</span> <span class=pl-c1><</span> <span class=pl-s1>inputs</span><span class=pl-kos>.</span><span class=pl-c1>length</span><span class=pl-kos>;</span> <span class=pl-s1>i</span><span class=pl-c1>++</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR24" data-line-number="24" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>input</span> <span class=pl-c1>=</span> <span class=pl-s1>inputs</span><span class=pl-kos>[</span> <span class=pl-s1>i</span> <span class=pl-kos>]</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR25" data-line-number="25" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>elem</span> <span class=pl-c1>=</span> <span class=pl-en>jQuery</span><span class=pl-kos>(</span> <span class=pl-s1>getHtmlWrapper</span><span class=pl-kos>(</span> <span class=pl-s1>input</span><span class=pl-kos>[</span> <span class=pl-c1>0</span> <span class=pl-kos>]</span> <span class=pl-kos>)</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR26" data-line-number="26" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>elem</span><span class=pl-kos>.</span><span class=pl-en>append</span><span class=pl-kos>(</span> <span class=pl-s1>getHtmlWrapper</span><span class=pl-kos>(</span> <span class=pl-s1>input</span><span class=pl-kos>[</span> <span class=pl-c1>1</span> <span class=pl-kos>]</span> <span class=pl-kos>)</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR27" data-line-number="27" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>tags</span> <span class=pl-c1>=</span> <span class=pl-s1>elem</span><span class=pl-kos>.</span><span class=pl-en>find</span><span class=pl-kos>(</span> <span class=pl-s>".test"</span> <span class=pl-kos>)</span><span class=pl-kos>.</span><span class=pl-en>toArray</span><span class=pl-kos>(</span><span class=pl-kos>)</span><span class=pl-kos>.</span><span class=pl-en>map</span><span class=pl-kos>(</span> <span class=pl-k>function</span><span class=pl-kos>(</span> <span class=pl-s1>node</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR28" data-line-number="28" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-s1>node</span><span class=pl-kos>.</span><span class=pl-c1>nodeName</span><span class=pl-kos>.</span><span class=pl-en>toLowerCase</span><span class=pl-kos>(</span><span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR29" data-line-number="29" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR30" data-line-number="30" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>results</span><span class=pl-kos>.</span><span class=pl-en>push</span><span class=pl-kos>(</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR31" data-line-number="31" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c1>actual</span>: <span class=pl-s1>tags</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR32" data-line-number="32" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c1>expected</span>: <span class=pl-s1>input</span><span class=pl-kos>[</span> <span class=pl-c1>2</span> <span class=pl-kos>]</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR33" data-line-number="33" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c1>message</span>: <span class=pl-s1>messagePrefix</span> <span class=pl-c1>+</span> <span class=pl-s>": "</span> <span class=pl-c1>+</span> <span class=pl-s1>input</span><span class=pl-kos>[</span> <span class=pl-c1>2</span> <span class=pl-kos>]</span><span class=pl-kos>.</span><span class=pl-en>join</span><span class=pl-kos>(</span> <span class=pl-s>", "</span> <span class=pl-kos>)</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR34" data-line-number="34" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR35" data-line-number="35" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR36" data-line-number="36" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR37" data-line-number="37" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>elem</span> <span class=pl-c1>=</span> <span class=pl-en>jQuery</span><span class=pl-kos>(</span> <span class=pl-s1>getHtmlWrapper</span><span class=pl-kos>(</span> <span class=pl-s>"<div></div>"</span> <span class=pl-kos>)</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR38" data-line-number="38" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>elem</span><span class=pl-kos>.</span><span class=pl-en>append</span><span class=pl-kos>(</span> <span class=pl-s1>getHtmlWrapper</span><span class=pl-kos>(</span> <span class=pl-s>"text content"</span> <span class=pl-kos>)</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR39" data-line-number="39" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>results</span><span class=pl-kos>.</span><span class=pl-en>push</span><span class=pl-kos>(</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR40" data-line-number="40" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c1>actual</span>: <span class=pl-s1>elem</span><span class=pl-kos>.</span><span class=pl-en>html</span><span class=pl-kos>(</span><span class=pl-kos>)</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR41" data-line-number="41" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c1>expected</span>: <span class=pl-s>"text content"</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR42" data-line-number="42" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c1>message</span>: <span class=pl-s1>messagePrefix</span> <span class=pl-c1>+</span> <span class=pl-s>": text content properly appended"</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR43" data-line-number="43" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR44" data-line-number="44" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR45" data-line-number="45" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR46" data-line-number="46" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-k>typeof</span> <span class=pl-s1>trustedTypes</span> <span class=pl-c1>!==</span> <span class=pl-s>"undefined"</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR47" data-line-number="47" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>policy</span> <span class=pl-c1>=</span> <span class=pl-s1>trustedTypes</span><span class=pl-kos>.</span><span class=pl-en>createPolicy</span><span class=pl-kos>(</span> <span class=pl-s>"jquery-test-policy"</span><span class=pl-kos>,</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR48" data-line-number="48" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-en>createHTML</span>: <span class=pl-k>function</span><span class=pl-kos>(</span> <span class=pl-s1>html</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR49" data-line-number="49" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-s1>html</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR50" data-line-number="50" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR51" data-line-number="51" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR52" data-line-number="52" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR53" data-line-number="53" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-en>runTests</span><span class=pl-kos>(</span> <span class=pl-s>"TrustedHTML"</span><span class=pl-kos>,</span> <span class=pl-k>function</span> <span class=pl-en>wrapInTrustedHtml</span><span class=pl-kos>(</span> <span class=pl-s1>input</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR54" data-line-number="54" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-s1>policy</span><span class=pl-kos>.</span><span class=pl-en>createHTML</span><span class=pl-kos>(</span> <span class=pl-s1>input</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR55" data-line-number="55" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR56" data-line-number="56" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-k>else</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR57" data-line-number="57" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR58" data-line-number="58" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// No TrustedHTML support so let's at least run tests with object wrappers</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR59" data-line-number="59" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// with a proper `toString` function. This also shows that jQuery support</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR60" data-line-number="60" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// of TrustedHTML is generic and would work with similar APIs out of the box</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR61" data-line-number="61" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// as well. Ideally, we'd run these tests in browsers with TrustedHTML support</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR62" data-line-number="62" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-c>// as well but due to the CSP TrustedHTML enforcement these tests would fail.</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR63" data-line-number="63" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-en>runTests</span><span class=pl-kos>(</span> <span class=pl-s>"Object wrapper"</span><span class=pl-kos>,</span> <span class=pl-k>function</span><span class=pl-kos>(</span> <span class=pl-s1>input</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR64" data-line-number="64" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR65" data-line-number="65" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-en>toString</span>: <span class=pl-k>function</span> <span class=pl-en>toString</span><span class=pl-kos>(</span><span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR66" data-line-number="66" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>return</span> <span class=pl-s1>input</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR67" data-line-number="67" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR68" data-line-number="68" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR69" data-line-number="69" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR70" data-line-number="70" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR71" data-line-number="71" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR72" data-line-number="72" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-en>startIframeTest</span><span class=pl-kos>(</span> <span class=pl-s1>results</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR73" data-line-number="73" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos></</span><span class=pl-ent>script</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR74" data-line-number="74" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos></</span><span class=pl-ent>body</span><span class=pl-kos>></span></span></td> </tr> <tr data-hunk="c1e5f902986fb41aaefecbb295785795e9cdc4200bdde577c915f597bde62014" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-7eb2678c7390c7722fe224ed98b07c805032d06b15cb75cb75d5ad2cafdb431aR75" data-line-number="75" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos></</span><span class=pl-ent>html</span><span class=pl-kos>></span></span></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="test/middleware-mockserver.js" > <div id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".js" data-file-deleted="false" data-tagsearch-path="test/middleware-mockserver.js" data-tagsearch-lang="JavaScript" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="test/middleware-mockserver.js" data-short-path="9a70036" data-anchor="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" data-file-type=".js" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/jquery/jquery/blob_expand/0bd44f95b7d4f5285cd62c1021aecc3aeb55a401?anchor=diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992&diff=unified&direction=full&mode=100644&path=test%2Fmiddleware-mockserver.js" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 10 changes: 9 additions & 1 deletion </span> <span class="diffstat" aria-hidden="true">10 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-neutral"></span></span> <span class="Truncate"> <a title="test/middleware-mockserver.js" class="Link--primary Truncate-text" href="#diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992">test/middleware-mockserver.js</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="test/middleware-mockserver.js" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/test/middleware-mockserver.js" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" id="expand-up-link-0-diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/0bd44f95b7d4f5285cd62c1021aecc3aeb55a401?diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=222&left_hunk_size=7&mode=100644&path=test%2Fmiddleware-mockserver.js&right=222&right_hunk_size=7" data-left-range="1-221" data-right-range="1-221"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-6cdd25de-d373-4079-8787-f762b2a8f65c" for="expand-up-link-0-diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -222,7 +222,7 @@ var mocks = {</td> </tr> <tr data-hunk="8f64ead57675222ea972fdb4883d1d7d62e7d60c4ece89dbbfd531331bd9de26" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L222" data-line-number="222" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R222" data-line-number="222" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-en>cspFrame</span>: <span class=pl-k>function</span><span class=pl-kos>(</span> <span class=pl-s1>req</span><span class=pl-kos>,</span> <span class=pl-s1>resp</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="8f64ead57675222ea972fdb4883d1d7d62e7d60c4ece89dbbfd531331bd9de26" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L223" data-line-number="223" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R223" data-line-number="223" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>resp</span><span class=pl-kos>.</span><span class=pl-en>writeHead</span><span class=pl-kos>(</span> <span class=pl-c1>200</span><span class=pl-kos>,</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="8f64ead57675222ea972fdb4883d1d7d62e7d60c4ece89dbbfd531331bd9de26" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L224" data-line-number="224" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R224" data-line-number="224" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s>"Content-Type"</span>: <span class=pl-s>"text/html"</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="8f64ead57675222ea972fdb4883d1d7d62e7d60c4ece89dbbfd531331bd9de26" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L225" data-line-number="225" class="blob-num blob-num-deletion js-linkable-line-number"></td> <td class="blob-num blob-num-deletion empty-cell"></td> <td class="blob-code blob-code-deletion js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass js-skip-tagsearch' data-code-marker="-"> <span class="pl-s">"Content-Security-Policy"</span>: <span class="pl-s">"default-src 'self'; report-uri /base/test/data/mock.php?action=cspLog"</span></span></td> </tr> <tr data-hunk="8f64ead57675222ea972fdb4883d1d7d62e7d60c4ece89dbbfd531331bd9de26" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R225" data-line-number="225" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class="pl-s">"Content-Security-Policy"</span>: <span class="pl-s">"default-src 'self'; <span class="x x-first x-last">require-trusted-types-for 'script'; </span>report-uri /base/test/data/mock.php?action=cspLog"</span></span></td> </tr> <tr data-hunk="8f64ead57675222ea972fdb4883d1d7d62e7d60c4ece89dbbfd531331bd9de26" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L226" data-line-number="226" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R226" data-line-number="226" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="8f64ead57675222ea972fdb4883d1d7d62e7d60c4ece89dbbfd531331bd9de26" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L227" data-line-number="227" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R227" data-line-number="227" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>var</span> <span class=pl-s1>body</span> <span class=pl-c1>=</span> <span class=pl-s1>fs</span><span class=pl-kos>.</span><span class=pl-en>readFileSync</span><span class=pl-kos>(</span> <span class=pl-s1>__dirname</span> <span class=pl-c1>+</span> <span class=pl-s>"/data/csp.include.html"</span> <span class=pl-kos>)</span><span class=pl-kos>.</span><span class=pl-en>toString</span><span class=pl-kos>(</span><span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="8f64ead57675222ea972fdb4883d1d7d62e7d60c4ece89dbbfd531331bd9de26" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L228" data-line-number="228" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R228" data-line-number="228" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>resp</span><span class=pl-kos>.</span><span class=pl-en>end</span><span class=pl-kos>(</span> <span class=pl-s1>body</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position="9"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" id="expand-down-link-9-diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" class="js-expand directional-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/0bd44f95b7d4f5285cd62c1021aecc3aeb55a401?diff=unified&direction=down&in_wiki_context=&last_left=228&last_right=228&left=256&left_hunk_size=6&mode=100644&path=test%2Fmiddleware-mockserver.js&right=256&right_hunk_size=14" data-left-range="229-241" data-right-range="229-241"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-31ed6917-4c3b-4162-bc19-cff2a241dbbe" for="expand-down-link-9-diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> <a href="#diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" id="expand-up-link-9-diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" class="js-expand directional-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/0bd44f95b7d4f5285cd62c1021aecc3aeb55a401?diff=unified&direction=up&in_wiki_context=&last_left=228&last_right=228&left=256&left_hunk_size=6&mode=100644&path=test%2Fmiddleware-mockserver.js&right=256&right_hunk_size=14" data-left-range="242-255" data-right-range="242-255"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-7fc74019-7e6e-46d5-938d-0946afd29230" for="expand-up-link-9-diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -256,6 +256,14 @@ var mocks = {</td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L256" data-line-number="256" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R256" data-line-number="256" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>resp</span><span class=pl-kos>.</span><span class=pl-en>writeHead</span><span class=pl-kos>(</span> <span class=pl-c1>200</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L257" data-line-number="257" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R257" data-line-number="257" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>resp</span><span class=pl-kos>.</span><span class=pl-en>end</span><span class=pl-kos>(</span><span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L258" data-line-number="258" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R258" data-line-number="258" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-kos>}</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R259" data-line-number="259" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-en>trustedHtml</span>: <span class=pl-k>function</span><span class=pl-kos>(</span> <span class=pl-s1>req</span><span class=pl-kos>,</span> <span class=pl-s1>resp</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R260" data-line-number="260" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>resp</span><span class=pl-kos>.</span><span class=pl-en>writeHead</span><span class=pl-kos>(</span> <span class=pl-c1>200</span><span class=pl-kos>,</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R261" data-line-number="261" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s>"Content-Type"</span>: <span class=pl-s>"text/html"</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R262" data-line-number="262" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s>"Content-Security-Policy"</span>: <span class=pl-s>"require-trusted-types-for 'script'; report-uri /base/test/data/mock.php?action=cspLog"</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R263" data-line-number="263" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R264" data-line-number="264" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>var</span> <span class=pl-s1>body</span> <span class=pl-c1>=</span> <span class=pl-s1>fs</span><span class=pl-kos>.</span><span class=pl-en>readFileSync</span><span class=pl-kos>(</span> <span class=pl-s1>__dirname</span> <span class=pl-c1>+</span> <span class=pl-s>"/data/trusted-html.html"</span> <span class=pl-kos>)</span><span class=pl-kos>.</span><span class=pl-en>toString</span><span class=pl-kos>(</span><span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R265" data-line-number="265" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>resp</span><span class=pl-kos>.</span><span class=pl-en>end</span><span class=pl-kos>(</span> <span class=pl-s1>body</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R266" data-line-number="266" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L259" data-line-number="259" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R267" data-line-number="267" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-en>errorWithScript</span>: <span class=pl-k>function</span><span class=pl-kos>(</span> <span class=pl-s1>req</span><span class=pl-kos>,</span> <span class=pl-s1>resp</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L260" data-line-number="260" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R268" data-line-number="268" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-k>if</span> <span class=pl-kos>(</span> <span class=pl-s1>req</span><span class=pl-kos>.</span><span class=pl-c1>query</span><span class=pl-kos>.</span><span class=pl-c1>withScriptContentType</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="9078d14537585c986d3a3a6ad5fb96572c226b0974a63a91cafbb5c04f02e724" class="show-top-border"> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992L261" data-line-number="261" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992R269" data-line-number="269" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>resp</span><span class=pl-kos>.</span><span class=pl-en>writeHead</span><span class=pl-kos>(</span> <span class=pl-c1>404</span><span class=pl-kos>,</span> <span class=pl-kos>{</span> <span class=pl-s>"Content-Type"</span>: <span class=pl-s>"application/javascript"</span> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr class="js-expandable-line js-skip-tagsearch" data-position=""> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" id="expand-down-link--diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" class="js-expand directional-expander single-expander" aria-label="Expand Down" data-url="/jquery/jquery/blob_excerpt/0bd44f95b7d4f5285cd62c1021aecc3aeb55a401?diff=unified&direction=down&in_wiki_context=&last_left=261&last_right=269&left=347&left_hunk_size=&mode=100644&path=test%2Fmiddleware-mockserver.js&right=347&right_hunk_size=" data-left-range="262-346" data-right-range="270-346"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-down"> <path d="m8.177 14.323 2.896-2.896a.25.25 0 0 0-.177-.427H8.75V7.764a.75.75 0 1 0-1.5 0V11H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0ZM2.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75ZM8.25 5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 4.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 1 .75.75Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </a> <tool-tip id="tooltip-778adea6-669d-4620-942f-c0301f6a723f" for="expand-down-link--diff-9a70036158f0148f6a503ea7fd67921a5b9d8c7f68726eb764fa27cf76355992" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Down</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk"></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> <copilot-diff-entry data-file-path="test/unit/manipulation.js" > <div id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open js-tagsearch-file" data-file-type=".js" data-file-deleted="false" data-tagsearch-path="test/unit/manipulation.js" data-tagsearch-lang="JavaScript" data-targets="diff-file-filter.diffEntries" > <div class="file-header d-flex flex-md-row flex-column flex-md-items-center file-header--expandable js-file-header js-skip-tagsearch" data-path="test/unit/manipulation.js" data-short-path="994e9d7" data-anchor="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606" data-file-type=".js" data-file-deleted="false" > <div class="file-info flex-auto min-width-0 mb-md-0 mb-2"> <button type="button" class="btn-octicon js-details-target" aria-label="Toggle diff contents" aria-expanded="true" style="width: 22px;"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down Details-content--hidden"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right Details-content--shown"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="js-expand-full-wrapper d-inline-block"> <button type="button" class="btn-link color-fg-muted no-underline js-expand-full directional-expander tooltipped tooltipped-se" aria-label="Expand all" data-url="/jquery/jquery/blob_expand/30bf169ac46377a62dbd33195eff541897ee9873?anchor=diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606&diff=unified&direction=full&mode=100644&path=test%2Funit%2Fmanipulation.js" > <svg aria-label="Expand all" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-unfold"> <path d="m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> <button type="button" class="btn-link color-fg-muted no-underline js-collapse-diff tooltipped tooltipped-se" aria-label="Collapse expanded lines" hidden > <svg aria-label="Collapse added diff lines" aria-hidden="false" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold"> <path d="M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"></path> </svg> </button> </div> <span class="sr-only"> 16 changes: 16 additions & 0 deletions </span> <span class="diffstat" aria-hidden="true">16 <span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span><span class="diffstat-block-added"></span></span> <span class="Truncate"> <a title="test/unit/manipulation.js" class="Link--primary Truncate-text" href="#diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606">test/unit/manipulation.js</a> <span data-view-component="true"> <clipboard-copy data-copy-feedback="Copied!" aria-label="Copy" value="test/unit/manipulation.js" data-view-component="true" class="Link--onHover color-fg-muted ml-2 mr-2"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> <div aria-live="polite" aria-atomic="true" class="sr-only" data-clipboard-copy-feedback></div> </span> </span> </div> <div class="file-actions pt-0 mb-md-0 mb-2 ml-md-2 flex-shrink-0 flex-md-justify-end"> <div class="d-flex flex-justify-end"> <details class="js-file-header-dropdown dropdown details-overlay details-reset pr-2 pl-2"> <summary class="height-full"> <div class="height-full d-flex flex-items-center Link--secondary"> <svg aria-label="Show options" role="img" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </div> </summary> <details-menu class="dropdown-menu dropdown-menu-sw show-more-popover color-fg-default position-absolute f5" style="width:fit-content; min-width:185px; z-index:99; right: -4px;"> <label role="menuitemradio" class="dropdown-item btn-link text-normal d-block pl-5" tabindex="0" aria-checked="true"> <span class="position-absolute ml-n4"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg></span> <input type="checkbox" checked class="d-none js-toggle-file-notes"> Show comments </label> <div role="none" class="dropdown-divider"></div> <a href="/jquery/jquery/blob/de5398a6ad088dc006b46c6a870a2a053f4cd663/test/unit/manipulation.js" class="pl-5 dropdown-item btn-link" rel="nofollow" role="menuitem" data-ga-click="View file, click, location:files_changed_dropdown" > View file </a> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to make changes."> Edit file </button> <button type="button" disabled role="menuitem" class="pl-5 dropdown-item btn-link" aria-label="You must be signed in and have push access to delete this file."> Delete file </button> <div role="none" class="dropdown-divider"></div> <span data-target="copilot-diff-entry.menuItemsSlot"></span> </details-menu> </details> </div> </div> </div> <div class="js-file-content Details-content--hidden position-relative" data-hydro-view="{"event_type":"pull_request.select_diff_range","payload":{"actor_id":null,"pull_request_id":null,"repository_id":null,"diff_type":"UNIFIED","whitespace_ignored":false,"originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-view-hmac="350b9f36751545c4d96c7f29efcc3d24730152d5bfc897b511b696ccadade7ef"> <div class="data highlight js-blob-wrapper js-check-bidi " > <template class="js-file-alert-template"> <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span> This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a> </span> <div data-view-component="true" class="flash-action"> <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn"> Show hidden characters </a> </div> </div></template> <template class="js-line-alert-template"> <span aria-label="This line has hidden Unicode characters" data-view-component="true" class="line-alert tooltipped tooltipped-e"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span></template> <table class=" diff-table js-diff-table tab-size " data-tab-size="8" data-diff-anchor="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606" data-paste-markdown-skip> <thead class="sr-only"> <tr> <th scope="col">Original file line number</th> <th scope="col">Diff line number</th> <th scope="col">Diff line change</th> </tr> </thead> <tbody> <tr class="js-expandable-line js-skip-tagsearch" data-position="0"> <td class="blob-num blob-num-expandable" colspan="2"> <a href="#diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606" id="expand-up-link-0-diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606" class="js-expand directional-expander single-expander" aria-label="Expand Up" data-url="/jquery/jquery/blob_excerpt/30bf169ac46377a62dbd33195eff541897ee9873?diff=unified&direction=up&in_wiki_context=&last_left=&last_right=&left=3008&left_hunk_size=3&mode=100644&path=test%2Funit%2Fmanipulation.js&right=3008&right_hunk_size=19" data-left-range="1-3007" data-right-range="1-3007"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-fold-up"> <path d="M7.823 1.677 4.927 4.573A.25.25 0 0 0 5.104 5H7.25v3.236a.75.75 0 1 0 1.5 0V5h2.146a.25.25 0 0 0 .177-.427L8.177 1.677a.25.25 0 0 0-.354 0ZM13.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Zm-3.75.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM7.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5ZM4 11.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75ZM1.75 11a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"></path> </svg> </a> <tool-tip id="tooltip-19ce4c7f-d3d5-4f38-a930-5361ace3b3f0" for="expand-up-link-0-diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606" popover="manual" data-direction="ne" data-type="label" data-view-component="true" class="sr-only position-absolute">Expand Up</tool-tip> </td> <td class="blob-code blob-code-inner blob-code-hunk">@@ -3008,3 +3008,19 @@ QUnit.test( "Works with invalid attempts to close the table wrapper", function(</td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606L3008" data-line-number="3008" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3008" data-line-number="3008" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>assert</span><span class=pl-kos>.</span><span class=pl-en>strictEqual</span><span class=pl-kos>(</span> <span class=pl-s1>elem</span><span class=pl-kos>[</span> <span class=pl-c1>0</span> <span class=pl-kos>]</span><span class=pl-kos>.</span><span class=pl-c1>nodeName</span><span class=pl-kos>.</span><span class=pl-en>toLowerCase</span><span class=pl-kos>(</span><span class=pl-kos>)</span><span class=pl-kos>,</span> <span class=pl-s>"td"</span><span class=pl-kos>,</span> <span class=pl-s>"First element is td"</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606L3009" data-line-number="3009" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3009" data-line-number="3009" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "> <span class=pl-s1>assert</span><span class=pl-kos>.</span><span class=pl-en>strictEqual</span><span class=pl-kos>(</span> <span class=pl-s1>elem</span><span class=pl-kos>[</span> <span class=pl-c1>1</span> <span class=pl-kos>]</span><span class=pl-kos>.</span><span class=pl-c1>nodeName</span><span class=pl-kos>.</span><span class=pl-en>toLowerCase</span><span class=pl-kos>(</span><span class=pl-kos>)</span><span class=pl-kos>,</span> <span class=pl-s>"td"</span><span class=pl-kos>,</span> <span class=pl-s>"Second element is td"</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606L3010" data-line-number="3010" class="blob-num blob-num-context js-linkable-line-number"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3010" data-line-number="3010" class="blob-num blob-num-context js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-context js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker=" "><span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3011" data-line-number="3011" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3012" data-line-number="3012" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-c>// Test trustedTypes support in browsers where they're supported (currently Chrome 83+).</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3013" data-line-number="3013" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-c>// Browsers with no TrustedHTML support still run tests on object wrappers with</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3014" data-line-number="3014" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-c>// a proper `toString` function.</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3015" data-line-number="3015" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-en>testIframe</span><span class=pl-kos>(</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3016" data-line-number="3016" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s>"Basic TrustedHTML support (gh-4409)"</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3017" data-line-number="3017" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s>"mock.php?action=trustedHtml"</span><span class=pl-kos>,</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3018" data-line-number="3018" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-k>function</span><span class=pl-kos>(</span> <span class=pl-s1>assert</span><span class=pl-kos>,</span> <span class=pl-s1>jQuery</span><span class=pl-kos>,</span> <span class=pl-s1>window</span><span class=pl-kos>,</span> <span class=pl-s1>document</span><span class=pl-kos>,</span> <span class=pl-s1>test</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3019" data-line-number="3019" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3020" data-line-number="3020" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>assert</span><span class=pl-kos>.</span><span class=pl-en>expect</span><span class=pl-kos>(</span> <span class=pl-c1>5</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3021" data-line-number="3021" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><br></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3022" data-line-number="3022" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>test</span><span class=pl-kos>.</span><span class=pl-en>forEach</span><span class=pl-kos>(</span> <span class=pl-k>function</span><span class=pl-kos>(</span> <span class=pl-s1>result</span> <span class=pl-kos>)</span> <span class=pl-kos>{</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3023" data-line-number="3023" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-s1>assert</span><span class=pl-kos>.</span><span class=pl-en>deepEqual</span><span class=pl-kos>(</span> <span class=pl-s1>result</span><span class=pl-kos>.</span><span class=pl-c1>actual</span><span class=pl-kos>,</span> <span class=pl-s1>result</span><span class=pl-kos>.</span><span class=pl-c1>expected</span><span class=pl-kos>,</span> <span class=pl-s1>result</span><span class=pl-kos>.</span><span class=pl-c1>message</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3024" data-line-number="3024" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span> <span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3025" data-line-number="3025" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"> <span class=pl-kos>}</span></span></td> </tr> <tr data-hunk="27b66b4b76407a557706e4ec8c687d3edf2ca04d2c5c63aef2fc9e58ee3914d0" class="show-top-border"> <td class="blob-num blob-num-addition empty-cell"></td> <td id="diff-994e9d7a4ae2d09028de2e54fa3da6dda082fdcdbf137a13a14f5ae4b734d606R3026" data-line-number="3026" class="blob-num blob-num-addition js-linkable-line-number js-code-nav-line-number js-blob-rnum"></td> <td class="blob-code blob-code-addition js-file-line"> <span class='blob-code-inner blob-code-marker js-code-nav-pass ' data-code-marker="+"><span class=pl-kos>)</span><span class=pl-kos>;</span></span></td> </tr> </tbody> </table> </div> </div> </div> </copilot-diff-entry> </div> </div> <button type="button" class="js-toggle-all-file-notes" data-hotkey="i" style="display:none">Toggle all file notes</button> <button type="button" class="js-toggle-all-file-annotations" data-hotkey="a" style="display:none">Toggle all file annotations</button> <svg aria-hidden="true" width="100px" height="84px" viewBox="0 0 340 84" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="diff-placeholder-svg position-absolute bottom-0"> <defs> <clippath id="diff-placeholder"> <rect x="0" y="0" width="67.0175439" height="11.9298746" rx="2"></rect> <rect x="18.9473684" y="47.7194983" width="100.701754" height="11.9298746" rx="2"></rect> <rect x="0" y="71.930126" width="37.8947368" height="11.9298746" rx="2"></rect> <rect x="127.017544" y="48.0703769" width="53.3333333" height="11.9298746" rx="2"></rect> <rect x="187.719298" y="48.0703769" width="72.9824561" height="11.9298746" rx="2"></rect> <rect x="76.8421053" y="0" width="140.350877" height="11.9298746" rx="2"></rect> <rect x="17.8947368" y="23.8597491" width="140.350877" height="11.9298746" rx="2"></rect> <rect x="166.315789" y="23.8597491" width="173.684211" height="11.9298746" rx="2"></rect> </clippath> <linearGradient id="animated-diff-gradient" x1="0" x2="0" y1="0" y2="1" spreadMethod="reflect"> <stop offset="0" stop-color="#eee"></stop> <stop offset="0.2" stop-color="#eee"></stop> <stop offset="0.5" stop-color="#ddd"></stop> <stop offset="0.8" stop-color="#eee"></stop> <stop offset="1" stop-color="#eee"></stop> <animateTransform attributeName="y1" values="0%; 100%; 0" dur="1s" repeatCount="3"></animateTransform> <animateTransform attributeName="y2" values="100%; 200%; 0" dur="1s" repeatCount="3"></animateTransform> </linearGradient> </defs> </svg> <div id="all_commit_comments" class="js-quote-selection-container" data-quote-markdown=".js-comment-body"> <div class="mb-1 mb-md-3"> <div id="partial-visible-comments-header" class="d-flex flex-items-center flex-column-reverse flex-md-row"> <h3 class="h4 flex-auto text-md-left text-center"> 0 comments on commit <code class="commit-sha">de5398a</code> </h3> <div class="flex-shrink-0 mb-2 mb-md-0"> </div> </div> </div> <div id="comments" class="comment-holder ml-0 pl-0 ml-md-6 pl-md-3"> <!-- Rendered timeline since 2021-09-30 07:00:24 --> <div id="partial-timeline-marker" class="js-timeline-marker js-socket-channel js-updatable-content" data-channel="eyJjIjoicmVwbzoxNjcxNzQ6Y29tbWl0OmRlNTM5OGE2YWQwODhkYzAwNmI0NmM2YTg3MGEyYTA1M2Y0Y2Q2NjMiLCJ0IjoxNzMyNTE3Nzk1fQ==--a9c4339dee4eb806e6ac92ef7377dbd73410828a3bc78ce75a92640decf39d81" data-url="/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663/show_partial?partial=commit%2Ftimeline_marker&since=1633010424" data-last-modified="Thu, 30 Sep 2021 14:00:24 GMT"> </div> </div> Please <a rel="nofollow" class="Link--inTextBlock" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"commit comment","repository_id":167174,"auth_type":"LOG_IN","originating_url":"https://github.com/jquery/jquery/commit/de5398a6ad088dc006b46c6a870a2a053f4cd663","user_id":null}}" data-hydro-click-hmac="4d9042534083675790170d07cd4407583dca14b8ba49841150e016b4d2ae9b68" href="/login?return_to=https%3A%2F%2Fgithub.com%2Fjquery%2Fjquery%2Fcommit%2Fde5398a6ad088dc006b46c6a870a2a053f4cd663">sign in</a> to comment. </div> </div> </div> </diff-layout> </div> </div> </turbo-frame> </main> </div> </div> <footer class="footer pt-8 pb-6 f6 color-fg-muted p-responsive" role="contentinfo" > <h2 class='sr-only'>Footer</h2> <div class="d-flex flex-justify-center flex-items-center flex-column-reverse flex-lg-row flex-wrap flex-lg-nowrap"> <div class="d-flex flex-items-center flex-shrink-0 mx-2"> <a aria-label="Homepage" title="GitHub" class="footer-octicon mr-2" href="https://github.com"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-mark-github"> <path d="M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"></path> </svg> </a> <span> © 2024 GitHub, Inc. </span> </div> <nav aria-label="Footer"> <h3 class="sr-only" id="sr-footer-heading">Footer navigation</h3> <ul class="list-style-none d-flex flex-justify-center flex-wrap mb-2 mb-lg-0" aria-labelledby="sr-footer-heading"> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to Terms","label":"text:terms"}" href="https://docs.github.com/site-policy/github-terms/github-terms-of-service" data-view-component="true" class="Link--secondary Link">Terms</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to privacy","label":"text:privacy"}" href="https://docs.github.com/site-policy/privacy-policies/github-privacy-statement" data-view-component="true" class="Link--secondary Link">Privacy</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to security","label":"text:security"}" href="https://github.com/security" data-view-component="true" class="Link--secondary Link">Security</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to status","label":"text:status"}" href="https://www.githubstatus.com/" data-view-component="true" class="Link--secondary Link">Status</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to docs","label":"text:docs"}" href="https://docs.github.com/" data-view-component="true" class="Link--secondary Link">Docs</a> </li> <li class="mx-2"> <a data-analytics-event="{"category":"Footer","action":"go to contact","label":"text:contact"}" href="https://support.github.com?tags=dotcom-footer" data-view-component="true" class="Link--secondary Link">Contact</a> </li> <li class="mx-2" > <cookie-consent-link> <button type="button" class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent" data-action="click:cookie-consent-link#showConsentManagement" data-analytics-event="{"location":"footer","action":"cookies","context":"subfooter","tag":"link","label":"cookies_link_subfooter_footer"}" > Manage cookies </button> </cookie-consent-link> </li> <li class="mx-2"> <cookie-consent-link> <button type="button" class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent" data-action="click:cookie-consent-link#showConsentManagement" data-analytics-event="{"location":"footer","action":"dont_share_info","context":"subfooter","tag":"link","label":"dont_share_info_link_subfooter_footer"}" > Do not share my personal information </button> </cookie-consent-link> </li> </ul> </nav> </div> </footer> <ghcc-consent id="ghcc" class="position-fixed bottom-0 left-0" style="z-index: 999999" data-initial-cookie-consent-allowed="" data-cookie-consent-required="false"></ghcc-consent> <div id="ajax-error-message" class="ajax-error-message flash flash-error" hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> You can’t perform that action at this time. </div> <template id="site-details-dialog"> <details class="details-reset details-overlay details-overlay-dark lh-default color-fg-default hx_rsm" open> <summary role="button" aria-label="Close dialog"></summary> <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast hx_rsm-dialog hx_rsm-modal"> <button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 top-0" type="button" aria-label="Close dialog" data-close-dialog> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="octocat-spinner my-6 js-details-dialog-spinner"></div> </details-dialog> </details> </template> <div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;"> <div class="Popover-message Popover-message--bottom-left Popover-message--large Box color-shadow-large" style="width:360px;"> </div> </div> <template id="snippet-clipboard-copy-button"> <div class="zeroclipboard-container position-absolute right-0 top-0"> <clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0" data-copy-feedback="Copied!" data-tooltip-direction="w"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon m-2"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none m-2"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> </div> </template> <template id="snippet-clipboard-copy-button-unpositioned"> <div class="zeroclipboard-container"> <clipboard-copy aria-label="Copy" class="ClipboardButton btn btn-invisible js-clipboard-copy m-2 p-0 d-flex flex-justify-center flex-items-center" data-copy-feedback="Copied!" data-tooltip-direction="w"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> </div> </template> </div> <div id="js-global-screen-reader-notice" class="sr-only mt-n1" aria-live="polite" aria-atomic="true" ></div> <div id="js-global-screen-reader-notice-assertive" class="sr-only mt-n1" aria-live="assertive" aria-atomic="true"></div> </body> </html>