udt-itf-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +124 -0
- data/_data/apis.yml +66 -0
- data/_data/calls.yml +6 -0
- data/_data/demos.yml +10 -0
- data/_data/features.yml +9 -0
- data/_data/institutions.yml +61 -0
- data/_data/pastevents.yml +146 -0
- data/_includes/api/acronyms.md +3 -0
- data/_includes/api/anchor_headings.html +152 -0
- data/_includes/api/beta.md +7 -0
- data/_includes/api/code_header.html +4 -0
- data/_includes/api/copyright.md +4 -0
- data/_includes/api/copyright2015.md +4 -0
- data/_includes/api/copyright2017.md +4 -0
- data/_includes/api/editors.md +3 -0
- data/_includes/api/links.md +235 -0
- data/_includes/api/sub-page_header.html +5 -0
- data/_includes/api/toc.html +182 -0
- data/_includes/blocks/api-cards.html +27 -0
- data/_includes/blocks/cards.html +21 -0
- data/_includes/blocks/carousel.html +14 -0
- data/_includes/blocks/demos.html +10 -0
- data/_includes/blocks/event-cards.html +26 -0
- data/_includes/blocks/features.html +9 -0
- data/_includes/blocks/hero.html +61 -0
- data/_includes/blocks/image-and-text.html +30 -0
- data/_includes/blocks/join-newsletter.html +0 -0
- data/_includes/blocks/logo-grid.html +14 -0
- data/_includes/blocks/news-cards.html +32 -0
- data/_includes/blocks/pullquote.html +22 -0
- data/_includes/blocks/related-cards.html +0 -0
- data/_includes/blocks/steps.html +0 -0
- data/_includes/blocks/tabs.html +21 -0
- data/_includes/blocks/text-and-text.html +14 -0
- data/_includes/content/full-width-image.html +10 -0
- data/_includes/content/inline-image.html +13 -0
- data/_includes/footer.html +28 -0
- data/_includes/head.html +36 -0
- data/_includes/misc/button.html +2 -0
- data/_includes/misc/community_calendar.html +4 -0
- data/_includes/misc/feedback.html +79 -0
- data/_includes/misc/google-analytics.html +9 -0
- data/_includes/misc/image.html +7 -0
- data/_includes/misc/notification.html +15 -0
- data/_includes/navbar.html +36 -0
- data/_layouts/default.html +35 -0
- data/_layouts/event.html +7 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +7 -0
- data/_layouts/spec.html +35 -0
- data/_sass/iiifc-theme/api-spec.scss +180 -0
- data/_sass/iiifc-theme/base.scss +317 -0
- data/_sass/iiifc-theme/bulma-base.scss +15 -0
- data/_sass/iiifc-theme/carousel.scss +47 -0
- data/_sass/iiifc-theme/fonts.scss +6 -0
- data/_sass/iiifc-theme/helpers.scss +43 -0
- data/_sass/iiifc-theme/syntax.scss +65 -0
- data/_sass/iiifc-theme/typography.scss +41 -0
- data/_sass/iiifc-theme/vars.scss +47 -0
- data/_sass/node_modules/.yarn-integrity +19 -0
- data/_sass/node_modules/bulma/CHANGELOG.md +1539 -0
- data/_sass/node_modules/bulma/LICENSE +21 -0
- data/_sass/node_modules/bulma/README.md +133 -0
- data/_sass/node_modules/bulma/bulma.sass +10 -0
- data/_sass/node_modules/bulma/css/bulma-rtl.css +11705 -0
- data/_sass/node_modules/bulma/css/bulma-rtl.css.map +1 -0
- data/_sass/node_modules/bulma/css/bulma-rtl.min.css +1 -0
- data/_sass/node_modules/bulma/css/bulma.css +11705 -0
- data/_sass/node_modules/bulma/css/bulma.css.map +1 -0
- data/_sass/node_modules/bulma/css/bulma.min.css +1 -0
- data/_sass/node_modules/bulma/package.json +56 -0
- data/_sass/node_modules/bulma/sass/base/_all.sass +6 -0
- data/_sass/node_modules/bulma/sass/base/animations.sass +5 -0
- data/_sass/node_modules/bulma/sass/base/generic.sass +145 -0
- data/_sass/node_modules/bulma/sass/base/helpers.sass +1 -0
- data/_sass/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/_sass/node_modules/bulma/sass/components/_all.sass +15 -0
- data/_sass/node_modules/bulma/sass/components/breadcrumb.sass +77 -0
- data/_sass/node_modules/bulma/sass/components/card.sass +102 -0
- data/_sass/node_modules/bulma/sass/components/dropdown.sass +83 -0
- data/_sass/node_modules/bulma/sass/components/level.sass +79 -0
- data/_sass/node_modules/bulma/sass/components/media.sass +59 -0
- data/_sass/node_modules/bulma/sass/components/menu.sass +59 -0
- data/_sass/node_modules/bulma/sass/components/message.sass +101 -0
- data/_sass/node_modules/bulma/sass/components/modal.sass +117 -0
- data/_sass/node_modules/bulma/sass/components/navbar.sass +445 -0
- data/_sass/node_modules/bulma/sass/components/pagination.sass +158 -0
- data/_sass/node_modules/bulma/sass/components/panel.sass +121 -0
- data/_sass/node_modules/bulma/sass/components/tabs.sass +176 -0
- data/_sass/node_modules/bulma/sass/elements/_all.sass +16 -0
- data/_sass/node_modules/bulma/sass/elements/box.sass +26 -0
- data/_sass/node_modules/bulma/sass/elements/button.sass +345 -0
- data/_sass/node_modules/bulma/sass/elements/container.sass +29 -0
- data/_sass/node_modules/bulma/sass/elements/content.sass +157 -0
- data/_sass/node_modules/bulma/sass/elements/form.sass +1 -0
- data/_sass/node_modules/bulma/sass/elements/icon.sass +40 -0
- data/_sass/node_modules/bulma/sass/elements/image.sass +73 -0
- data/_sass/node_modules/bulma/sass/elements/notification.sass +52 -0
- data/_sass/node_modules/bulma/sass/elements/other.sass +41 -0
- data/_sass/node_modules/bulma/sass/elements/progress.sass +73 -0
- data/_sass/node_modules/bulma/sass/elements/table.sass +133 -0
- data/_sass/node_modules/bulma/sass/elements/tag.sass +140 -0
- data/_sass/node_modules/bulma/sass/elements/title.sass +72 -0
- data/_sass/node_modules/bulma/sass/form/_all.sass +9 -0
- data/_sass/node_modules/bulma/sass/form/checkbox-radio.sass +22 -0
- data/_sass/node_modules/bulma/sass/form/file.sass +182 -0
- data/_sass/node_modules/bulma/sass/form/input-textarea.sass +66 -0
- data/_sass/node_modules/bulma/sass/form/select.sass +87 -0
- data/_sass/node_modules/bulma/sass/form/shared.sass +60 -0
- data/_sass/node_modules/bulma/sass/form/tools.sass +215 -0
- data/_sass/node_modules/bulma/sass/grid/_all.sass +5 -0
- data/_sass/node_modules/bulma/sass/grid/columns.sass +513 -0
- data/_sass/node_modules/bulma/sass/grid/tiles.sass +36 -0
- data/_sass/node_modules/bulma/sass/helpers/_all.sass +12 -0
- data/_sass/node_modules/bulma/sass/helpers/color.sass +39 -0
- data/_sass/node_modules/bulma/sass/helpers/flexbox.sass +35 -0
- data/_sass/node_modules/bulma/sass/helpers/float.sass +10 -0
- data/_sass/node_modules/bulma/sass/helpers/other.sass +14 -0
- data/_sass/node_modules/bulma/sass/helpers/overflow.sass +2 -0
- data/_sass/node_modules/bulma/sass/helpers/position.sass +7 -0
- data/_sass/node_modules/bulma/sass/helpers/spacing.sass +31 -0
- data/_sass/node_modules/bulma/sass/helpers/typography.sass +100 -0
- data/_sass/node_modules/bulma/sass/helpers/visibility.sass +122 -0
- data/_sass/node_modules/bulma/sass/layout/_all.sass +6 -0
- data/_sass/node_modules/bulma/sass/layout/footer.sass +11 -0
- data/_sass/node_modules/bulma/sass/layout/hero.sass +149 -0
- data/_sass/node_modules/bulma/sass/layout/section.sass +15 -0
- data/_sass/node_modules/bulma/sass/utilities/_all.sass +9 -0
- data/_sass/node_modules/bulma/sass/utilities/animations.sass +1 -0
- data/_sass/node_modules/bulma/sass/utilities/controls.sass +49 -0
- data/_sass/node_modules/bulma/sass/utilities/derived-variables.sass +110 -0
- data/_sass/node_modules/bulma/sass/utilities/extends.sass +22 -0
- data/_sass/node_modules/bulma/sass/utilities/functions.sass +115 -0
- data/_sass/node_modules/bulma/sass/utilities/initial-variables.sass +78 -0
- data/_sass/node_modules/bulma/sass/utilities/mixins.sass +268 -0
- data/_sass/node_modules/jquery/AUTHORS.txt +331 -0
- data/_sass/node_modules/jquery/LICENSE.txt +20 -0
- data/_sass/node_modules/jquery/README.md +62 -0
- data/_sass/node_modules/jquery/bower.json +14 -0
- data/_sass/node_modules/jquery/dist/jquery.js +10881 -0
- data/_sass/node_modules/jquery/dist/jquery.min.js +2 -0
- data/_sass/node_modules/jquery/dist/jquery.min.map +1 -0
- data/_sass/node_modules/jquery/dist/jquery.slim.js +8782 -0
- data/_sass/node_modules/jquery/dist/jquery.slim.min.js +2 -0
- data/_sass/node_modules/jquery/dist/jquery.slim.min.map +1 -0
- data/_sass/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
- data/_sass/node_modules/jquery/external/sizzle/dist/sizzle.js +2478 -0
- data/_sass/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/_sass/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/_sass/node_modules/jquery/package.json +116 -0
- data/_sass/node_modules/jquery/src/ajax/jsonp.js +103 -0
- data/_sass/node_modules/jquery/src/ajax/load.js +77 -0
- data/_sass/node_modules/jquery/src/ajax/script.js +74 -0
- data/_sass/node_modules/jquery/src/ajax/var/location.js +5 -0
- data/_sass/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- data/_sass/node_modules/jquery/src/ajax/var/rquery.js +5 -0
- data/_sass/node_modules/jquery/src/ajax/xhr.js +170 -0
- data/_sass/node_modules/jquery/src/ajax.js +876 -0
- data/_sass/node_modules/jquery/src/attributes/attr.js +141 -0
- data/_sass/node_modules/jquery/src/attributes/classes.js +186 -0
- data/_sass/node_modules/jquery/src/attributes/prop.js +143 -0
- data/_sass/node_modules/jquery/src/attributes/support.js +33 -0
- data/_sass/node_modules/jquery/src/attributes/val.js +191 -0
- data/_sass/node_modules/jquery/src/attributes.js +13 -0
- data/_sass/node_modules/jquery/src/callbacks.js +236 -0
- data/_sass/node_modules/jquery/src/core/DOMEval.js +43 -0
- data/_sass/node_modules/jquery/src/core/access.js +72 -0
- data/_sass/node_modules/jquery/src/core/camelCase.js +23 -0
- data/_sass/node_modules/jquery/src/core/init.js +129 -0
- data/_sass/node_modules/jquery/src/core/isAttached.js +26 -0
- data/_sass/node_modules/jquery/src/core/nodeName.js +13 -0
- data/_sass/node_modules/jquery/src/core/parseHTML.js +65 -0
- data/_sass/node_modules/jquery/src/core/parseXML.js +35 -0
- data/_sass/node_modules/jquery/src/core/ready-no-deferred.js +97 -0
- data/_sass/node_modules/jquery/src/core/ready.js +86 -0
- data/_sass/node_modules/jquery/src/core/readyException.js +13 -0
- data/_sass/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
- data/_sass/node_modules/jquery/src/core/support.js +20 -0
- data/_sass/node_modules/jquery/src/core/toType.js +20 -0
- data/_sass/node_modules/jquery/src/core/var/rsingleTag.js +7 -0
- data/_sass/node_modules/jquery/src/core.js +400 -0
- data/_sass/node_modules/jquery/src/css/addGetHookIf.js +26 -0
- data/_sass/node_modules/jquery/src/css/adjustCSS.js +74 -0
- data/_sass/node_modules/jquery/src/css/curCSS.js +65 -0
- data/_sass/node_modules/jquery/src/css/finalPropName.js +42 -0
- data/_sass/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/_sass/node_modules/jquery/src/css/showHide.js +105 -0
- data/_sass/node_modules/jquery/src/css/support.js +152 -0
- data/_sass/node_modules/jquery/src/css/var/cssExpand.js +5 -0
- data/_sass/node_modules/jquery/src/css/var/getStyles.js +17 -0
- data/_sass/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
- data/_sass/node_modules/jquery/src/css/var/rboxStyle.js +7 -0
- data/_sass/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
- data/_sass/node_modules/jquery/src/css/var/swap.js +26 -0
- data/_sass/node_modules/jquery/src/css.js +494 -0
- data/_sass/node_modules/jquery/src/data/Data.js +162 -0
- data/_sass/node_modules/jquery/src/data/var/acceptData.js +19 -0
- data/_sass/node_modules/jquery/src/data/var/dataPriv.js +7 -0
- data/_sass/node_modules/jquery/src/data/var/dataUser.js +7 -0
- data/_sass/node_modules/jquery/src/data.js +180 -0
- data/_sass/node_modules/jquery/src/deferred/exceptionHook.js +21 -0
- data/_sass/node_modules/jquery/src/deferred.js +399 -0
- data/_sass/node_modules/jquery/src/deprecated/ajax-event-alias.js +22 -0
- data/_sass/node_modules/jquery/src/deprecated/event.js +50 -0
- data/_sass/node_modules/jquery/src/deprecated.js +87 -0
- data/_sass/node_modules/jquery/src/dimensions.js +60 -0
- data/_sass/node_modules/jquery/src/effects/Tween.js +125 -0
- data/_sass/node_modules/jquery/src/effects/animatedSelector.js +15 -0
- data/_sass/node_modules/jquery/src/effects.js +702 -0
- data/_sass/node_modules/jquery/src/event/focusin.js +58 -0
- data/_sass/node_modules/jquery/src/event/support.js +11 -0
- data/_sass/node_modules/jquery/src/event/trigger.js +199 -0
- data/_sass/node_modules/jquery/src/event.js +874 -0
- data/_sass/node_modules/jquery/src/exports/amd.js +26 -0
- data/_sass/node_modules/jquery/src/exports/global.js +34 -0
- data/_sass/node_modules/jquery/src/jquery.js +41 -0
- data/_sass/node_modules/jquery/src/manipulation/_evalUrl.js +32 -0
- data/_sass/node_modules/jquery/src/manipulation/buildFragment.js +106 -0
- data/_sass/node_modules/jquery/src/manipulation/getAll.js +32 -0
- data/_sass/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
- data/_sass/node_modules/jquery/src/manipulation/support.js +41 -0
- data/_sass/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
- data/_sass/node_modules/jquery/src/manipulation/var/rtagName.js +8 -0
- data/_sass/node_modules/jquery/src/manipulation/wrapMap.js +30 -0
- data/_sass/node_modules/jquery/src/manipulation.js +480 -0
- data/_sass/node_modules/jquery/src/offset.js +232 -0
- data/_sass/node_modules/jquery/src/queue/delay.js +24 -0
- data/_sass/node_modules/jquery/src/queue.js +145 -0
- data/_sass/node_modules/jquery/src/selector-native.js +241 -0
- data/_sass/node_modules/jquery/src/selector-sizzle.js +19 -0
- data/_sass/node_modules/jquery/src/selector.js +3 -0
- data/_sass/node_modules/jquery/src/serialize.js +134 -0
- data/_sass/node_modules/jquery/src/traversing/findFilter.js +97 -0
- data/_sass/node_modules/jquery/src/traversing/var/dir.js +22 -0
- data/_sass/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
- data/_sass/node_modules/jquery/src/traversing/var/siblings.js +17 -0
- data/_sass/node_modules/jquery/src/traversing.js +198 -0
- data/_sass/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
- data/_sass/node_modules/jquery/src/var/arr.js +5 -0
- data/_sass/node_modules/jquery/src/var/class2type.js +6 -0
- data/_sass/node_modules/jquery/src/var/document.js +5 -0
- data/_sass/node_modules/jquery/src/var/documentElement.js +7 -0
- data/_sass/node_modules/jquery/src/var/flat.js +16 -0
- data/_sass/node_modules/jquery/src/var/fnToString.js +7 -0
- data/_sass/node_modules/jquery/src/var/getProto.js +5 -0
- data/_sass/node_modules/jquery/src/var/hasOwn.js +7 -0
- data/_sass/node_modules/jquery/src/var/indexOf.js +7 -0
- data/_sass/node_modules/jquery/src/var/isFunction.js +17 -0
- data/_sass/node_modules/jquery/src/var/isWindow.js +8 -0
- data/_sass/node_modules/jquery/src/var/pnum.js +5 -0
- data/_sass/node_modules/jquery/src/var/push.js +7 -0
- data/_sass/node_modules/jquery/src/var/rcheckableType.js +5 -0
- data/_sass/node_modules/jquery/src/var/rcssNum.js +9 -0
- data/_sass/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
- data/_sass/node_modules/jquery/src/var/slice.js +7 -0
- data/_sass/node_modules/jquery/src/var/support.js +6 -0
- data/_sass/node_modules/jquery/src/var/toString.js +7 -0
- data/_sass/node_modules/jquery/src/wrap.js +78 -0
- data/_sass/node_modules/slick-carousel-no-fonts/.npmignore +2 -0
- data/_sass/node_modules/slick-carousel-no-fonts/CONTRIBUTING.markdown +35 -0
- data/_sass/node_modules/slick-carousel-no-fonts/ISSUE_TEMPLATE.md +50 -0
- data/_sass/node_modules/slick-carousel-no-fonts/LICENSE +20 -0
- data/_sass/node_modules/slick-carousel-no-fonts/Makefile +8 -0
- data/_sass/node_modules/slick-carousel-no-fonts/README.markdown +287 -0
- data/_sass/node_modules/slick-carousel-no-fonts/bower.json +32 -0
- data/_sass/node_modules/slick-carousel-no-fonts/component.json +18 -0
- data/_sass/node_modules/slick-carousel-no-fonts/index.html +163 -0
- data/_sass/node_modules/slick-carousel-no-fonts/package.json +50 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/ajax-loader.gif +0 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/config.rb +10 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/fonts/slick.eot +0 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/fonts/slick.svg +14 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/fonts/slick.ttf +0 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/fonts/slick.woff +0 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/slick-theme.css +194 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/slick-theme.less +158 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/slick-theme.scss +186 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.css +117 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.js +2936 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.less +98 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.min.js +18 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick/slick.scss +98 -0
- data/_sass/node_modules/slick-carousel-no-fonts/slick.jquery.json +34 -0
- data/assets/android-chrome-192x192.png +0 -0
- data/assets/android-chrome-512x512.png +0 -0
- data/assets/apple-touch-icon.png +0 -0
- data/assets/browserconfig.xml +9 -0
- data/assets/css/ajax-loader.gif +0 -0
- data/assets/css/style.scss +4 -0
- data/assets/favicon-16x16.png +0 -0
- data/assets/favicon-32x32.png +0 -0
- data/assets/favicon.ico +0 -0
- data/assets/images/defaults/blank-image.png +0 -0
- data/assets/images/defaults/just-a-square.png +0 -0
- data/assets/images/heroes/event.png +0 -0
- data/assets/images/heroes/event.webp +0 -0
- data/assets/images/heroes/event@2x.png +0 -0
- data/assets/images/heroes/event@2x.webp +0 -0
- data/assets/images/heroes/event@3x.png +0 -0
- data/assets/images/heroes/event@3x.webp +0 -0
- data/assets/images/heroes/event_2.png +0 -0
- data/assets/images/heroes/event_2.webp +0 -0
- data/assets/images/heroes/event_2@2x.png +0 -0
- data/assets/images/heroes/event_2@2x.webp +0 -0
- data/assets/images/heroes/hero-1.png +0 -0
- data/assets/images/heroes/hero-1.webp +0 -0
- data/assets/images/heroes/hero-1@2x.png +0 -0
- data/assets/images/heroes/hero-1@2x.webp +0 -0
- data/assets/images/heroes/hero-2.png +0 -0
- data/assets/images/heroes/hero-2.webp +0 -0
- data/assets/images/heroes/hero-2@2x.png +0 -0
- data/assets/images/heroes/hero-2@2x.webp +0 -0
- data/assets/images/heroes/hero-2@3x.png +0 -0
- data/assets/images/heroes/hero-2@3x.webp +0 -0
- data/assets/images/heroes/hero-3.png +0 -0
- data/assets/images/heroes/hero-3.webp +0 -0
- data/assets/images/heroes/hero-3@2x.png +0 -0
- data/assets/images/heroes/hero-3@2x.webp +0 -0
- data/assets/images/heroes/hero-3@3x.png +0 -0
- data/assets/images/heroes/hero-3@3x.webp +0 -0
- data/assets/images/heroes/smithsonian_cookbook.jpg +0 -0
- data/assets/images/heroes/smithsonian_cookbook.webp +0 -0
- data/assets/images/icons/auth-group.png +0 -0
- data/assets/images/icons/auth-group.webp +0 -0
- data/assets/images/icons/auth-group@2x.png +0 -0
- data/assets/images/icons/auth-group@2x.webp +0 -0
- data/assets/images/icons/auth-group@3x.png +0 -0
- data/assets/images/icons/auth-group@3x.webp +0 -0
- data/assets/images/icons/calendar.png +0 -0
- data/assets/images/icons/calendar.webp +0 -0
- data/assets/images/icons/calendar@2x.png +0 -0
- data/assets/images/icons/calendar@2x.webp +0 -0
- data/assets/images/icons/calendar@3x.png +0 -0
- data/assets/images/icons/calendar@3x.webp +0 -0
- data/assets/images/icons/developer.png +0 -0
- data/assets/images/icons/developer.webp +0 -0
- data/assets/images/icons/developer@2x.png +0 -0
- data/assets/images/icons/developer@2x.webp +0 -0
- data/assets/images/icons/developer@3x.png +0 -0
- data/assets/images/icons/developer@3x.webp +0 -0
- data/assets/images/icons/image.png +0 -0
- data/assets/images/icons/image.webp +0 -0
- data/assets/images/icons/image@2x.png +0 -0
- data/assets/images/icons/image@2x.webp +0 -0
- data/assets/images/icons/image@3x.png +0 -0
- data/assets/images/icons/image@3x.webp +0 -0
- data/assets/images/icons/info.png +0 -0
- data/assets/images/icons/info.webp +0 -0
- data/assets/images/icons/info@2x.png +0 -0
- data/assets/images/icons/info@2x.webp +0 -0
- data/assets/images/icons/info@3x.png +0 -0
- data/assets/images/icons/info@3x.webp +0 -0
- data/assets/images/icons/leader.png +0 -0
- data/assets/images/icons/leader.webp +0 -0
- data/assets/images/icons/leader@2x.png +0 -0
- data/assets/images/icons/leader@2x.webp +0 -0
- data/assets/images/icons/leader@3x.png +0 -0
- data/assets/images/icons/leader@3x.webp +0 -0
- data/assets/images/icons/left-arrow.png +0 -0
- data/assets/images/icons/left-arrow.webp +0 -0
- data/assets/images/icons/left-arrow@2x.png +0 -0
- data/assets/images/icons/left-arrow@2x.webp +0 -0
- data/assets/images/icons/left-arrow@3x.png +0 -0
- data/assets/images/icons/left-arrow@3x.webp +0 -0
- data/assets/images/icons/link-group.png +0 -0
- data/assets/images/icons/link-group.webp +0 -0
- data/assets/images/icons/link-group@2x.png +0 -0
- data/assets/images/icons/link-group@2x.webp +0 -0
- data/assets/images/icons/link-group@3x.png +0 -0
- data/assets/images/icons/link-group@3x.webp +0 -0
- data/assets/images/icons/link.png +0 -0
- data/assets/images/icons/link.webp +0 -0
- data/assets/images/icons/location-info.png +0 -0
- data/assets/images/icons/location-info.webp +0 -0
- data/assets/images/icons/location-info@2x.png +0 -0
- data/assets/images/icons/location-info@2x.webp +0 -0
- data/assets/images/icons/location-info@3x.png +0 -0
- data/assets/images/icons/location-info@3x.webp +0 -0
- data/assets/images/icons/map-pin.png +0 -0
- data/assets/images/icons/map-pin.webp +0 -0
- data/assets/images/icons/map-pin@2x.png +0 -0
- data/assets/images/icons/map-pin@2x.webp +0 -0
- data/assets/images/icons/map-pin@3x.png +0 -0
- data/assets/images/icons/map-pin@3x.webp +0 -0
- data/assets/images/icons/pagination-dots.png +0 -0
- data/assets/images/icons/pagination-dots.webp +0 -0
- data/assets/images/icons/pagination-dots@2x.png +0 -0
- data/assets/images/icons/pagination-dots@2x.webp +0 -0
- data/assets/images/icons/pagination-dots@3x.png +0 -0
- data/assets/images/icons/pagination-dots@3x.webp +0 -0
- data/assets/images/icons/quote.png +0 -0
- data/assets/images/icons/quote.webp +0 -0
- data/assets/images/icons/quote@2x.png +0 -0
- data/assets/images/icons/quote@2x.webp +0 -0
- data/assets/images/icons/quote@3x.png +0 -0
- data/assets/images/icons/quote@3x.webp +0 -0
- data/assets/images/icons/research.png +0 -0
- data/assets/images/icons/research.webp +0 -0
- data/assets/images/icons/research@2x.png +0 -0
- data/assets/images/icons/research@2x.webp +0 -0
- data/assets/images/icons/research@3x.png +0 -0
- data/assets/images/icons/research@3x.webp +0 -0
- data/assets/images/icons/right-arrow.png +0 -0
- data/assets/images/icons/right-arrow.webp +0 -0
- data/assets/images/icons/right-arrow@2x.png +0 -0
- data/assets/images/icons/right-arrow@2x.webp +0 -0
- data/assets/images/icons/right-arrow@3x.png +0 -0
- data/assets/images/icons/right-arrow@3x.webp +0 -0
- data/assets/images/icons/search-group.png +0 -0
- data/assets/images/icons/search-group.webp +0 -0
- data/assets/images/icons/search-group@2x.png +0 -0
- data/assets/images/icons/search-group@2x.webp +0 -0
- data/assets/images/icons/search-group@3x.png +0 -0
- data/assets/images/icons/search-group@3x.webp +0 -0
- data/assets/images/icons/shape.png +0 -0
- data/assets/images/icons/shape.webp +0 -0
- data/assets/images/icons/shape@2x.png +0 -0
- data/assets/images/icons/shape@2x.webp +0 -0
- data/assets/images/icons/shape@3x.png +0 -0
- data/assets/images/icons/shape@3x.webp +0 -0
- data/assets/images/logos/logo-blue.webp +0 -0
- data/assets/images/logos/logo-blue@2x.webp +0 -0
- data/assets/images/logos/logo-blue@3x.webp +0 -0
- data/assets/images/logos/logo-sm.png +0 -0
- data/assets/images/logos/logo-white.webp +0 -0
- data/assets/images/logos/logo-white@2x.webp +0 -0
- data/assets/images/logos/logo-white@3x.webp +0 -0
- data/assets/images/zeplin/delivery@3x.jpg +0 -0
- data/assets/images/zeplin/delivery@3x.png +0 -0
- data/assets/images/zeplin/delivery@3x.webp +0 -0
- data/assets/images/zeplin/jpg/delivery.jpg +0 -0
- data/assets/images/zeplin/jpg/delivery@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/event.jpg +0 -0
- data/assets/images/zeplin/jpg/event@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/event@3x.jpg +0 -0
- data/assets/images/zeplin/jpg/hero-1.jpg +0 -0
- data/assets/images/zeplin/jpg/hero-1@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/hero-1@3x.jpg +0 -0
- data/assets/images/zeplin/jpg/hero-2.jpg +0 -0
- data/assets/images/zeplin/jpg/hero-2@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/hero-2@3x.jpg +0 -0
- data/assets/images/zeplin/jpg/hero-3.jpg +0 -0
- data/assets/images/zeplin/jpg/hero-3@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/hero-3@3x.jpg +0 -0
- data/assets/images/zeplin/jpg/logo-blue.jpg +0 -0
- data/assets/images/zeplin/jpg/logo-blue@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/logo-blue@3x.jpg +0 -0
- data/assets/images/zeplin/jpg/logo-white.jpg +0 -0
- data/assets/images/zeplin/jpg/logo-white@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/logo-white@3x.jpg +0 -0
- data/assets/images/zeplin/jpg/silos-1.jpg +0 -0
- data/assets/images/zeplin/jpg/silos-1@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/silos-1@3x.jpg +0 -0
- data/assets/images/zeplin/jpg/silos-2.jpg +0 -0
- data/assets/images/zeplin/jpg/silos-2@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/silos-2@3x.jpg +0 -0
- data/assets/images/zeplin/jpg/silos-3.jpg +0 -0
- data/assets/images/zeplin/jpg/silos-3@2x.jpg +0 -0
- data/assets/images/zeplin/jpg/silos-3@3x.jpg +0 -0
- data/assets/images/zeplin/png/delivery.png +0 -0
- data/assets/images/zeplin/png/delivery@2x.png +0 -0
- data/assets/images/zeplin/png/event.png +0 -0
- data/assets/images/zeplin/png/event@2x.png +0 -0
- data/assets/images/zeplin/png/event@3x.png +0 -0
- data/assets/images/zeplin/png/group-11-copy.png +0 -0
- data/assets/images/zeplin/png/group-11-copy@2x.png +0 -0
- data/assets/images/zeplin/png/group-11-copy@3x.png +0 -0
- data/assets/images/zeplin/png/group-19.png +0 -0
- data/assets/images/zeplin/png/group-19@2x.png +0 -0
- data/assets/images/zeplin/png/group-19@3x.png +0 -0
- data/assets/images/zeplin/png/group-24.png +0 -0
- data/assets/images/zeplin/png/group-24@2x.png +0 -0
- data/assets/images/zeplin/png/group-24@3x.png +0 -0
- data/assets/images/zeplin/png/hero-1.png +0 -0
- data/assets/images/zeplin/png/hero-1@2x.png +0 -0
- data/assets/images/zeplin/png/hero-2.png +0 -0
- data/assets/images/zeplin/png/hero-2@2x.png +0 -0
- data/assets/images/zeplin/png/hero-2@3x.png +0 -0
- data/assets/images/zeplin/png/hero-3.png +0 -0
- data/assets/images/zeplin/png/hero-3@2x.png +0 -0
- data/assets/images/zeplin/png/hero-3@3x.png +0 -0
- data/assets/images/zeplin/png/invalid-name.png +0 -0
- data/assets/images/zeplin/png/invalid-name@2x.png +0 -0
- data/assets/images/zeplin/png/invalid-name@3x.png +0 -0
- data/assets/images/zeplin/png/left-arrow.png +0 -0
- data/assets/images/zeplin/png/left-arrow@2x.png +0 -0
- data/assets/images/zeplin/png/left-arrow@3x.png +0 -0
- data/assets/images/zeplin/png/logo-blue.png +0 -0
- data/assets/images/zeplin/png/logo-blue@2x.png +0 -0
- data/assets/images/zeplin/png/logo-blue@3x.png +0 -0
- data/assets/images/zeplin/png/logo-white.png +0 -0
- data/assets/images/zeplin/png/logo-white@2x.png +0 -0
- data/assets/images/zeplin/png/logo-white@3x.png +0 -0
- data/assets/images/zeplin/png/noun-calendar-3896118.png +0 -0
- data/assets/images/zeplin/png/noun-calendar-3896118@2x.png +0 -0
- data/assets/images/zeplin/png/noun-calendar-3896118@3x.png +0 -0
- data/assets/images/zeplin/png/noun-developer-2549191.png +0 -0
- data/assets/images/zeplin/png/noun-developer-2549191@2x.png +0 -0
- data/assets/images/zeplin/png/noun-developer-2549191@3x.png +0 -0
- data/assets/images/zeplin/png/noun-image-3888103.png +0 -0
- data/assets/images/zeplin/png/noun-image-3888103@2x.png +0 -0
- data/assets/images/zeplin/png/noun-image-3888103@3x.png +0 -0
- data/assets/images/zeplin/png/noun-info-1585217.png +0 -0
- data/assets/images/zeplin/png/noun-info-1585217@2x.png +0 -0
- data/assets/images/zeplin/png/noun-info-1585217@3x.png +0 -0
- data/assets/images/zeplin/png/noun-leader-1478173.png +0 -0
- data/assets/images/zeplin/png/noun-leader-1478173@2x.png +0 -0
- data/assets/images/zeplin/png/noun-leader-1478173@3x.png +0 -0
- data/assets/images/zeplin/png/noun-location-info-261887.png +0 -0
- data/assets/images/zeplin/png/noun-location-info-261887@2x.png +0 -0
- data/assets/images/zeplin/png/noun-location-info-261887@3x.png +0 -0
- data/assets/images/zeplin/png/noun-map-pin-800374.png +0 -0
- data/assets/images/zeplin/png/noun-map-pin-800374@2x.png +0 -0
- data/assets/images/zeplin/png/noun-map-pin-800374@3x.png +0 -0
- data/assets/images/zeplin/png/noun-research-1796671.png +0 -0
- data/assets/images/zeplin/png/noun-research-1796671@2x.png +0 -0
- data/assets/images/zeplin/png/noun-research-1796671@3x.png +0 -0
- data/assets/images/zeplin/png/pagination-dots.png +0 -0
- data/assets/images/zeplin/png/pagination-dots@2x.png +0 -0
- data/assets/images/zeplin/png/pagination-dots@3x.png +0 -0
- data/assets/images/zeplin/png/right-arrow.png +0 -0
- data/assets/images/zeplin/png/right-arrow@2x.png +0 -0
- data/assets/images/zeplin/png/right-arrow@3x.png +0 -0
- data/assets/images/zeplin/png/shape.png +0 -0
- data/assets/images/zeplin/png/shape@2x.png +0 -0
- data/assets/images/zeplin/png/shape@3x.png +0 -0
- data/assets/images/zeplin/png/silos-1.png +0 -0
- data/assets/images/zeplin/png/silos-1@2x.png +0 -0
- data/assets/images/zeplin/png/silos-1@3x.png +0 -0
- data/assets/images/zeplin/png/silos-2.png +0 -0
- data/assets/images/zeplin/png/silos-2@2x.png +0 -0
- data/assets/images/zeplin/png/silos-2@3x.png +0 -0
- data/assets/images/zeplin/png/silos-3.png +0 -0
- data/assets/images/zeplin/png/silos-3@2x.png +0 -0
- data/assets/images/zeplin/png/silos-3@3x.png +0 -0
- data/assets/images/zeplin/svg/group-11-copy.svg +20 -0
- data/assets/images/zeplin/svg/group-19.svg +10 -0
- data/assets/images/zeplin/svg/group-24.svg +12 -0
- data/assets/images/zeplin/svg/invalid-name.svg +7 -0
- data/assets/images/zeplin/svg/left-arrow.svg +9 -0
- data/assets/images/zeplin/svg/noun-calendar-3896118.svg +9 -0
- data/assets/images/zeplin/svg/noun-developer-2549191.svg +11 -0
- data/assets/images/zeplin/svg/noun-image-3888103.svg +10 -0
- data/assets/images/zeplin/svg/noun-info-1585217.svg +9 -0
- data/assets/images/zeplin/svg/noun-leader-1478173.svg +12 -0
- data/assets/images/zeplin/svg/noun-location-info-261887.svg +12 -0
- data/assets/images/zeplin/svg/noun-map-pin-800374.svg +9 -0
- data/assets/images/zeplin/svg/noun-research-1796671.svg +13 -0
- data/assets/images/zeplin/svg/pagination-dots.svg +11 -0
- data/assets/images/zeplin/svg/right-arrow.svg +9 -0
- data/assets/images/zeplin/svg/shape.svg +7 -0
- data/assets/images/zeplin/webp/delivery.webp +0 -0
- data/assets/images/zeplin/webp/delivery@2x.webp +0 -0
- data/assets/images/zeplin/webp/event.webp +0 -0
- data/assets/images/zeplin/webp/event@2x.webp +0 -0
- data/assets/images/zeplin/webp/event@3x.webp +0 -0
- data/assets/images/zeplin/webp/group-11-copy.webp +0 -0
- data/assets/images/zeplin/webp/group-11-copy@2x.webp +0 -0
- data/assets/images/zeplin/webp/group-11-copy@3x.webp +0 -0
- data/assets/images/zeplin/webp/group-19.webp +0 -0
- data/assets/images/zeplin/webp/group-19@2x.webp +0 -0
- data/assets/images/zeplin/webp/group-19@3x.webp +0 -0
- data/assets/images/zeplin/webp/group-24.webp +0 -0
- data/assets/images/zeplin/webp/group-24@2x.webp +0 -0
- data/assets/images/zeplin/webp/group-24@3x.webp +0 -0
- data/assets/images/zeplin/webp/hero-1.webp +0 -0
- data/assets/images/zeplin/webp/hero-1@2x.webp +0 -0
- data/assets/images/zeplin/webp/hero-2.webp +0 -0
- data/assets/images/zeplin/webp/hero-2@2x.webp +0 -0
- data/assets/images/zeplin/webp/hero-2@3x.webp +0 -0
- data/assets/images/zeplin/webp/hero-3.webp +0 -0
- data/assets/images/zeplin/webp/hero-3@2x.webp +0 -0
- data/assets/images/zeplin/webp/hero-3@3x.webp +0 -0
- data/assets/images/zeplin/webp/invalid-name.webp +0 -0
- data/assets/images/zeplin/webp/invalid-name@2x.webp +0 -0
- data/assets/images/zeplin/webp/invalid-name@3x.webp +0 -0
- data/assets/images/zeplin/webp/left-arrow.webp +0 -0
- data/assets/images/zeplin/webp/left-arrow@2x.webp +0 -0
- data/assets/images/zeplin/webp/left-arrow@3x.webp +0 -0
- data/assets/images/zeplin/webp/logo-blue.webp +0 -0
- data/assets/images/zeplin/webp/logo-blue@2x.webp +0 -0
- data/assets/images/zeplin/webp/logo-blue@3x.webp +0 -0
- data/assets/images/zeplin/webp/logo-white.webp +0 -0
- data/assets/images/zeplin/webp/logo-white@2x.webp +0 -0
- data/assets/images/zeplin/webp/logo-white@3x.webp +0 -0
- data/assets/images/zeplin/webp/noun-calendar-3896118.webp +0 -0
- data/assets/images/zeplin/webp/noun-calendar-3896118@2x.webp +0 -0
- data/assets/images/zeplin/webp/noun-calendar-3896118@3x.webp +0 -0
- data/assets/images/zeplin/webp/noun-developer-2549191.webp +0 -0
- data/assets/images/zeplin/webp/noun-developer-2549191@2x.webp +0 -0
- data/assets/images/zeplin/webp/noun-developer-2549191@3x.webp +0 -0
- data/assets/images/zeplin/webp/noun-image-3888103.webp +0 -0
- data/assets/images/zeplin/webp/noun-image-3888103@2x.webp +0 -0
- data/assets/images/zeplin/webp/noun-image-3888103@3x.webp +0 -0
- data/assets/images/zeplin/webp/noun-info-1585217.webp +0 -0
- data/assets/images/zeplin/webp/noun-info-1585217@2x.webp +0 -0
- data/assets/images/zeplin/webp/noun-info-1585217@3x.webp +0 -0
- data/assets/images/zeplin/webp/noun-leader-1478173.webp +0 -0
- data/assets/images/zeplin/webp/noun-leader-1478173@2x.webp +0 -0
- data/assets/images/zeplin/webp/noun-leader-1478173@3x.webp +0 -0
- data/assets/images/zeplin/webp/noun-location-info-261887.webp +0 -0
- data/assets/images/zeplin/webp/noun-location-info-261887@2x.webp +0 -0
- data/assets/images/zeplin/webp/noun-location-info-261887@3x.webp +0 -0
- data/assets/images/zeplin/webp/noun-map-pin-800374.webp +0 -0
- data/assets/images/zeplin/webp/noun-map-pin-800374@2x.webp +0 -0
- data/assets/images/zeplin/webp/noun-map-pin-800374@3x.webp +0 -0
- data/assets/images/zeplin/webp/noun-research-1796671.webp +0 -0
- data/assets/images/zeplin/webp/noun-research-1796671@2x.webp +0 -0
- data/assets/images/zeplin/webp/noun-research-1796671@3x.webp +0 -0
- data/assets/images/zeplin/webp/pagination-dots.webp +0 -0
- data/assets/images/zeplin/webp/pagination-dots@2x.webp +0 -0
- data/assets/images/zeplin/webp/pagination-dots@3x.webp +0 -0
- data/assets/images/zeplin/webp/right-arrow.webp +0 -0
- data/assets/images/zeplin/webp/right-arrow@2x.webp +0 -0
- data/assets/images/zeplin/webp/right-arrow@3x.webp +0 -0
- data/assets/images/zeplin/webp/shape.webp +0 -0
- data/assets/images/zeplin/webp/shape@2x.webp +0 -0
- data/assets/images/zeplin/webp/shape@3x.webp +0 -0
- data/assets/images/zeplin/webp/silos-1.webp +0 -0
- data/assets/images/zeplin/webp/silos-1@2x.webp +0 -0
- data/assets/images/zeplin/webp/silos-1@3x.webp +0 -0
- data/assets/images/zeplin/webp/silos-2.webp +0 -0
- data/assets/images/zeplin/webp/silos-2@2x.webp +0 -0
- data/assets/images/zeplin/webp/silos-2@3x.webp +0 -0
- data/assets/images/zeplin/webp/silos-3.webp +0 -0
- data/assets/images/zeplin/webp/silos-3@2x.webp +0 -0
- data/assets/images/zeplin/webp/silos-3@3x.webp +0 -0
- data/assets/js/carouselInit.js +8 -0
- data/assets/js/copyCodeBlock.js +15 -0
- data/assets/js/deleteButton.js +9 -0
- data/assets/js/tabSwitch.js +24 -0
- data/assets/mstile-150x150.png +0 -0
- data/assets/safari-pinned-tab.svg +61 -0
- data/assets/site.webmanifest +19 -0
- data/lib/iiifc.rb +10 -0
- data/lib/tasks/build.rake +41 -0
- data/lib/tasks/test.rake +59 -0
- metadata +786 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
define( [
|
2
|
+
"../core",
|
3
|
+
"../queue",
|
4
|
+
"../effects" // Delay is optional because of this dependency
|
5
|
+
], function( jQuery ) {
|
6
|
+
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
// Based off of the plugin by Clint Helfers, with permission.
|
10
|
+
// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/
|
11
|
+
jQuery.fn.delay = function( time, type ) {
|
12
|
+
time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
|
13
|
+
type = type || "fx";
|
14
|
+
|
15
|
+
return this.queue( type, function( next, hooks ) {
|
16
|
+
var timeout = window.setTimeout( next, time );
|
17
|
+
hooks.stop = function() {
|
18
|
+
window.clearTimeout( timeout );
|
19
|
+
};
|
20
|
+
} );
|
21
|
+
};
|
22
|
+
|
23
|
+
return jQuery.fn.delay;
|
24
|
+
} );
|
@@ -0,0 +1,145 @@
|
|
1
|
+
define( [
|
2
|
+
"./core",
|
3
|
+
"./data/var/dataPriv",
|
4
|
+
"./deferred",
|
5
|
+
"./callbacks"
|
6
|
+
], function( jQuery, dataPriv ) {
|
7
|
+
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
jQuery.extend( {
|
11
|
+
queue: function( elem, type, data ) {
|
12
|
+
var queue;
|
13
|
+
|
14
|
+
if ( elem ) {
|
15
|
+
type = ( type || "fx" ) + "queue";
|
16
|
+
queue = dataPriv.get( elem, type );
|
17
|
+
|
18
|
+
// Speed up dequeue by getting out quickly if this is just a lookup
|
19
|
+
if ( data ) {
|
20
|
+
if ( !queue || Array.isArray( data ) ) {
|
21
|
+
queue = dataPriv.access( elem, type, jQuery.makeArray( data ) );
|
22
|
+
} else {
|
23
|
+
queue.push( data );
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return queue || [];
|
27
|
+
}
|
28
|
+
},
|
29
|
+
|
30
|
+
dequeue: function( elem, type ) {
|
31
|
+
type = type || "fx";
|
32
|
+
|
33
|
+
var queue = jQuery.queue( elem, type ),
|
34
|
+
startLength = queue.length,
|
35
|
+
fn = queue.shift(),
|
36
|
+
hooks = jQuery._queueHooks( elem, type ),
|
37
|
+
next = function() {
|
38
|
+
jQuery.dequeue( elem, type );
|
39
|
+
};
|
40
|
+
|
41
|
+
// If the fx queue is dequeued, always remove the progress sentinel
|
42
|
+
if ( fn === "inprogress" ) {
|
43
|
+
fn = queue.shift();
|
44
|
+
startLength--;
|
45
|
+
}
|
46
|
+
|
47
|
+
if ( fn ) {
|
48
|
+
|
49
|
+
// Add a progress sentinel to prevent the fx queue from being
|
50
|
+
// automatically dequeued
|
51
|
+
if ( type === "fx" ) {
|
52
|
+
queue.unshift( "inprogress" );
|
53
|
+
}
|
54
|
+
|
55
|
+
// Clear up the last queue stop function
|
56
|
+
delete hooks.stop;
|
57
|
+
fn.call( elem, next, hooks );
|
58
|
+
}
|
59
|
+
|
60
|
+
if ( !startLength && hooks ) {
|
61
|
+
hooks.empty.fire();
|
62
|
+
}
|
63
|
+
},
|
64
|
+
|
65
|
+
// Not public - generate a queueHooks object, or return the current one
|
66
|
+
_queueHooks: function( elem, type ) {
|
67
|
+
var key = type + "queueHooks";
|
68
|
+
return dataPriv.get( elem, key ) || dataPriv.access( elem, key, {
|
69
|
+
empty: jQuery.Callbacks( "once memory" ).add( function() {
|
70
|
+
dataPriv.remove( elem, [ type + "queue", key ] );
|
71
|
+
} )
|
72
|
+
} );
|
73
|
+
}
|
74
|
+
} );
|
75
|
+
|
76
|
+
jQuery.fn.extend( {
|
77
|
+
queue: function( type, data ) {
|
78
|
+
var setter = 2;
|
79
|
+
|
80
|
+
if ( typeof type !== "string" ) {
|
81
|
+
data = type;
|
82
|
+
type = "fx";
|
83
|
+
setter--;
|
84
|
+
}
|
85
|
+
|
86
|
+
if ( arguments.length < setter ) {
|
87
|
+
return jQuery.queue( this[ 0 ], type );
|
88
|
+
}
|
89
|
+
|
90
|
+
return data === undefined ?
|
91
|
+
this :
|
92
|
+
this.each( function() {
|
93
|
+
var queue = jQuery.queue( this, type, data );
|
94
|
+
|
95
|
+
// Ensure a hooks for this queue
|
96
|
+
jQuery._queueHooks( this, type );
|
97
|
+
|
98
|
+
if ( type === "fx" && queue[ 0 ] !== "inprogress" ) {
|
99
|
+
jQuery.dequeue( this, type );
|
100
|
+
}
|
101
|
+
} );
|
102
|
+
},
|
103
|
+
dequeue: function( type ) {
|
104
|
+
return this.each( function() {
|
105
|
+
jQuery.dequeue( this, type );
|
106
|
+
} );
|
107
|
+
},
|
108
|
+
clearQueue: function( type ) {
|
109
|
+
return this.queue( type || "fx", [] );
|
110
|
+
},
|
111
|
+
|
112
|
+
// Get a promise resolved when queues of a certain type
|
113
|
+
// are emptied (fx is the type by default)
|
114
|
+
promise: function( type, obj ) {
|
115
|
+
var tmp,
|
116
|
+
count = 1,
|
117
|
+
defer = jQuery.Deferred(),
|
118
|
+
elements = this,
|
119
|
+
i = this.length,
|
120
|
+
resolve = function() {
|
121
|
+
if ( !( --count ) ) {
|
122
|
+
defer.resolveWith( elements, [ elements ] );
|
123
|
+
}
|
124
|
+
};
|
125
|
+
|
126
|
+
if ( typeof type !== "string" ) {
|
127
|
+
obj = type;
|
128
|
+
type = undefined;
|
129
|
+
}
|
130
|
+
type = type || "fx";
|
131
|
+
|
132
|
+
while ( i-- ) {
|
133
|
+
tmp = dataPriv.get( elements[ i ], type + "queueHooks" );
|
134
|
+
if ( tmp && tmp.empty ) {
|
135
|
+
count++;
|
136
|
+
tmp.empty.add( resolve );
|
137
|
+
}
|
138
|
+
}
|
139
|
+
resolve();
|
140
|
+
return defer.promise( obj );
|
141
|
+
}
|
142
|
+
} );
|
143
|
+
|
144
|
+
return jQuery;
|
145
|
+
} );
|
@@ -0,0 +1,241 @@
|
|
1
|
+
define( [
|
2
|
+
"./core",
|
3
|
+
"./var/document",
|
4
|
+
"./var/documentElement",
|
5
|
+
"./var/hasOwn",
|
6
|
+
"./var/indexOf"
|
7
|
+
], function( jQuery, document, documentElement, hasOwn, indexOf ) {
|
8
|
+
|
9
|
+
"use strict";
|
10
|
+
|
11
|
+
/*
|
12
|
+
* Optional (non-Sizzle) selector module for custom builds.
|
13
|
+
*
|
14
|
+
* Note that this DOES NOT SUPPORT many documented jQuery
|
15
|
+
* features in exchange for its smaller size:
|
16
|
+
*
|
17
|
+
* Attribute not equal selector
|
18
|
+
* Positional selectors (:first; :eq(n); :odd; etc.)
|
19
|
+
* Type selectors (:input; :checkbox; :button; etc.)
|
20
|
+
* State-based selectors (:animated; :visible; :hidden; etc.)
|
21
|
+
* :has(selector)
|
22
|
+
* :not(complex selector)
|
23
|
+
* custom selectors via Sizzle extensions
|
24
|
+
* Leading combinators (e.g., $collection.find("> *"))
|
25
|
+
* Reliable functionality on XML fragments
|
26
|
+
* Requiring all parts of a selector to match elements under context
|
27
|
+
* (e.g., $div.find("div > *") now matches children of $div)
|
28
|
+
* Matching against non-elements
|
29
|
+
* Reliable sorting of disconnected nodes
|
30
|
+
* querySelectorAll bug fixes (e.g., unreliable :focus on WebKit)
|
31
|
+
*
|
32
|
+
* If any of these are unacceptable tradeoffs, either use Sizzle or
|
33
|
+
* customize this stub for the project's specific needs.
|
34
|
+
*/
|
35
|
+
|
36
|
+
var hasDuplicate, sortInput,
|
37
|
+
rhtmlSuffix = /HTML$/i,
|
38
|
+
sortStable = jQuery.expando.split( "" ).sort( sortOrder ).join( "" ) === jQuery.expando,
|
39
|
+
matches = documentElement.matches ||
|
40
|
+
documentElement.webkitMatchesSelector ||
|
41
|
+
documentElement.mozMatchesSelector ||
|
42
|
+
documentElement.oMatchesSelector ||
|
43
|
+
documentElement.msMatchesSelector,
|
44
|
+
|
45
|
+
// CSS string/identifier serialization
|
46
|
+
// https://drafts.csswg.org/cssom/#common-serializing-idioms
|
47
|
+
rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,
|
48
|
+
fcssescape = function( ch, asCodePoint ) {
|
49
|
+
if ( asCodePoint ) {
|
50
|
+
|
51
|
+
// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
|
52
|
+
if ( ch === "\0" ) {
|
53
|
+
return "\uFFFD";
|
54
|
+
}
|
55
|
+
|
56
|
+
// Control characters and (dependent upon position) numbers get escaped as code points
|
57
|
+
return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
|
58
|
+
}
|
59
|
+
|
60
|
+
// Other potentially-special ASCII characters get backslash-escaped
|
61
|
+
return "\\" + ch;
|
62
|
+
};
|
63
|
+
|
64
|
+
function sortOrder( a, b ) {
|
65
|
+
|
66
|
+
// Flag for duplicate removal
|
67
|
+
if ( a === b ) {
|
68
|
+
hasDuplicate = true;
|
69
|
+
return 0;
|
70
|
+
}
|
71
|
+
|
72
|
+
// Sort on method existence if only one input has compareDocumentPosition
|
73
|
+
var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
|
74
|
+
if ( compare ) {
|
75
|
+
return compare;
|
76
|
+
}
|
77
|
+
|
78
|
+
// Calculate position if both inputs belong to the same document
|
79
|
+
compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?
|
80
|
+
a.compareDocumentPosition( b ) :
|
81
|
+
|
82
|
+
// Otherwise we know they are disconnected
|
83
|
+
1;
|
84
|
+
|
85
|
+
// Disconnected nodes
|
86
|
+
if ( compare & 1 ) {
|
87
|
+
|
88
|
+
// Choose the first element that is related to our preferred document
|
89
|
+
if ( a === document || a.ownerDocument === document &&
|
90
|
+
jQuery.contains( document, a ) ) {
|
91
|
+
return -1;
|
92
|
+
}
|
93
|
+
if ( b === document || b.ownerDocument === document &&
|
94
|
+
jQuery.contains( document, b ) ) {
|
95
|
+
return 1;
|
96
|
+
}
|
97
|
+
|
98
|
+
// Maintain original order
|
99
|
+
return sortInput ?
|
100
|
+
( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
|
101
|
+
0;
|
102
|
+
}
|
103
|
+
|
104
|
+
return compare & 4 ? -1 : 1;
|
105
|
+
}
|
106
|
+
|
107
|
+
function uniqueSort( results ) {
|
108
|
+
var elem,
|
109
|
+
duplicates = [],
|
110
|
+
j = 0,
|
111
|
+
i = 0;
|
112
|
+
|
113
|
+
hasDuplicate = false;
|
114
|
+
sortInput = !sortStable && results.slice( 0 );
|
115
|
+
results.sort( sortOrder );
|
116
|
+
|
117
|
+
if ( hasDuplicate ) {
|
118
|
+
while ( ( elem = results[ i++ ] ) ) {
|
119
|
+
if ( elem === results[ i ] ) {
|
120
|
+
j = duplicates.push( i );
|
121
|
+
}
|
122
|
+
}
|
123
|
+
while ( j-- ) {
|
124
|
+
results.splice( duplicates[ j ], 1 );
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
// Clear input after sorting to release objects
|
129
|
+
// See https://github.com/jquery/sizzle/pull/225
|
130
|
+
sortInput = null;
|
131
|
+
|
132
|
+
return results;
|
133
|
+
}
|
134
|
+
|
135
|
+
function escape( sel ) {
|
136
|
+
return ( sel + "" ).replace( rcssescape, fcssescape );
|
137
|
+
}
|
138
|
+
|
139
|
+
jQuery.extend( {
|
140
|
+
uniqueSort: uniqueSort,
|
141
|
+
unique: uniqueSort,
|
142
|
+
escapeSelector: escape,
|
143
|
+
find: function( selector, context, results, seed ) {
|
144
|
+
var elem, nodeType,
|
145
|
+
i = 0;
|
146
|
+
|
147
|
+
results = results || [];
|
148
|
+
context = context || document;
|
149
|
+
|
150
|
+
// Same basic safeguard as Sizzle
|
151
|
+
if ( !selector || typeof selector !== "string" ) {
|
152
|
+
return results;
|
153
|
+
}
|
154
|
+
|
155
|
+
// Early return if context is not an element or document
|
156
|
+
if ( ( nodeType = context.nodeType ) !== 1 && nodeType !== 9 ) {
|
157
|
+
return [];
|
158
|
+
}
|
159
|
+
|
160
|
+
if ( seed ) {
|
161
|
+
while ( ( elem = seed[ i++ ] ) ) {
|
162
|
+
if ( jQuery.find.matchesSelector( elem, selector ) ) {
|
163
|
+
results.push( elem );
|
164
|
+
}
|
165
|
+
}
|
166
|
+
} else {
|
167
|
+
jQuery.merge( results, context.querySelectorAll( selector ) );
|
168
|
+
}
|
169
|
+
|
170
|
+
return results;
|
171
|
+
},
|
172
|
+
text: function( elem ) {
|
173
|
+
var node,
|
174
|
+
ret = "",
|
175
|
+
i = 0,
|
176
|
+
nodeType = elem.nodeType;
|
177
|
+
|
178
|
+
if ( !nodeType ) {
|
179
|
+
|
180
|
+
// If no nodeType, this is expected to be an array
|
181
|
+
while ( ( node = elem[ i++ ] ) ) {
|
182
|
+
|
183
|
+
// Do not traverse comment nodes
|
184
|
+
ret += jQuery.text( node );
|
185
|
+
}
|
186
|
+
} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
|
187
|
+
|
188
|
+
// Use textContent for elements
|
189
|
+
return elem.textContent;
|
190
|
+
} else if ( nodeType === 3 || nodeType === 4 ) {
|
191
|
+
return elem.nodeValue;
|
192
|
+
}
|
193
|
+
|
194
|
+
// Do not include comment or processing instruction nodes
|
195
|
+
|
196
|
+
return ret;
|
197
|
+
},
|
198
|
+
contains: function( a, b ) {
|
199
|
+
var adown = a.nodeType === 9 ? a.documentElement : a,
|
200
|
+
bup = b && b.parentNode;
|
201
|
+
return a === bup || !!( bup && bup.nodeType === 1 && adown.contains( bup ) );
|
202
|
+
},
|
203
|
+
isXMLDoc: function( elem ) {
|
204
|
+
var namespace = elem.namespaceURI,
|
205
|
+
documentElement = ( elem.ownerDocument || elem ).documentElement;
|
206
|
+
|
207
|
+
// Assume HTML when documentElement doesn't yet exist, such as inside
|
208
|
+
// document fragments.
|
209
|
+
return !rhtmlSuffix.test( namespace ||
|
210
|
+
documentElement && documentElement.nodeName ||
|
211
|
+
"HTML" );
|
212
|
+
},
|
213
|
+
expr: {
|
214
|
+
attrHandle: {},
|
215
|
+
match: {
|
216
|
+
bool: new RegExp( "^(?:checked|selected|async|autofocus|autoplay|controls|defer" +
|
217
|
+
"|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$", "i" ),
|
218
|
+
needsContext: /^[\x20\t\r\n\f]*[>+~]/
|
219
|
+
}
|
220
|
+
}
|
221
|
+
} );
|
222
|
+
|
223
|
+
jQuery.extend( jQuery.find, {
|
224
|
+
matches: function( expr, elements ) {
|
225
|
+
return jQuery.find( expr, null, null, elements );
|
226
|
+
},
|
227
|
+
matchesSelector: function( elem, expr ) {
|
228
|
+
return matches.call( elem, expr );
|
229
|
+
},
|
230
|
+
attr: function( elem, name ) {
|
231
|
+
var fn = jQuery.expr.attrHandle[ name.toLowerCase() ],
|
232
|
+
|
233
|
+
// Don't get fooled by Object.prototype properties (jQuery #13807)
|
234
|
+
value = fn && hasOwn.call( jQuery.expr.attrHandle, name.toLowerCase() ) ?
|
235
|
+
fn( elem, name, jQuery.isXMLDoc( elem ) ) :
|
236
|
+
undefined;
|
237
|
+
return value !== undefined ? value : elem.getAttribute( name );
|
238
|
+
}
|
239
|
+
} );
|
240
|
+
|
241
|
+
} );
|
@@ -0,0 +1,19 @@
|
|
1
|
+
define( [
|
2
|
+
"./core",
|
3
|
+
"../external/sizzle/dist/sizzle"
|
4
|
+
], function( jQuery, Sizzle ) {
|
5
|
+
|
6
|
+
"use strict";
|
7
|
+
|
8
|
+
jQuery.find = Sizzle;
|
9
|
+
jQuery.expr = Sizzle.selectors;
|
10
|
+
|
11
|
+
// Deprecated
|
12
|
+
jQuery.expr[ ":" ] = jQuery.expr.pseudos;
|
13
|
+
jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;
|
14
|
+
jQuery.text = Sizzle.getText;
|
15
|
+
jQuery.isXMLDoc = Sizzle.isXML;
|
16
|
+
jQuery.contains = Sizzle.contains;
|
17
|
+
jQuery.escapeSelector = Sizzle.escape;
|
18
|
+
|
19
|
+
} );
|
@@ -0,0 +1,134 @@
|
|
1
|
+
define( [
|
2
|
+
"./core",
|
3
|
+
"./core/toType",
|
4
|
+
"./var/rcheckableType",
|
5
|
+
"./var/isFunction",
|
6
|
+
"./core/init",
|
7
|
+
"./traversing", // filter
|
8
|
+
"./attributes/prop"
|
9
|
+
], function( jQuery, toType, rcheckableType, isFunction ) {
|
10
|
+
|
11
|
+
"use strict";
|
12
|
+
|
13
|
+
var
|
14
|
+
rbracket = /\[\]$/,
|
15
|
+
rCRLF = /\r?\n/g,
|
16
|
+
rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
|
17
|
+
rsubmittable = /^(?:input|select|textarea|keygen)/i;
|
18
|
+
|
19
|
+
function buildParams( prefix, obj, traditional, add ) {
|
20
|
+
var name;
|
21
|
+
|
22
|
+
if ( Array.isArray( obj ) ) {
|
23
|
+
|
24
|
+
// Serialize array item.
|
25
|
+
jQuery.each( obj, function( i, v ) {
|
26
|
+
if ( traditional || rbracket.test( prefix ) ) {
|
27
|
+
|
28
|
+
// Treat each array item as a scalar.
|
29
|
+
add( prefix, v );
|
30
|
+
|
31
|
+
} else {
|
32
|
+
|
33
|
+
// Item is non-scalar (array or object), encode its numeric index.
|
34
|
+
buildParams(
|
35
|
+
prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]",
|
36
|
+
v,
|
37
|
+
traditional,
|
38
|
+
add
|
39
|
+
);
|
40
|
+
}
|
41
|
+
} );
|
42
|
+
|
43
|
+
} else if ( !traditional && toType( obj ) === "object" ) {
|
44
|
+
|
45
|
+
// Serialize object item.
|
46
|
+
for ( name in obj ) {
|
47
|
+
buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );
|
48
|
+
}
|
49
|
+
|
50
|
+
} else {
|
51
|
+
|
52
|
+
// Serialize scalar item.
|
53
|
+
add( prefix, obj );
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
// Serialize an array of form elements or a set of
|
58
|
+
// key/values into a query string
|
59
|
+
jQuery.param = function( a, traditional ) {
|
60
|
+
var prefix,
|
61
|
+
s = [],
|
62
|
+
add = function( key, valueOrFunction ) {
|
63
|
+
|
64
|
+
// If value is a function, invoke it and use its return value
|
65
|
+
var value = isFunction( valueOrFunction ) ?
|
66
|
+
valueOrFunction() :
|
67
|
+
valueOrFunction;
|
68
|
+
|
69
|
+
s[ s.length ] = encodeURIComponent( key ) + "=" +
|
70
|
+
encodeURIComponent( value == null ? "" : value );
|
71
|
+
};
|
72
|
+
|
73
|
+
if ( a == null ) {
|
74
|
+
return "";
|
75
|
+
}
|
76
|
+
|
77
|
+
// If an array was passed in, assume that it is an array of form elements.
|
78
|
+
if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
|
79
|
+
|
80
|
+
// Serialize the form elements
|
81
|
+
jQuery.each( a, function() {
|
82
|
+
add( this.name, this.value );
|
83
|
+
} );
|
84
|
+
|
85
|
+
} else {
|
86
|
+
|
87
|
+
// If traditional, encode the "old" way (the way 1.3.2 or older
|
88
|
+
// did it), otherwise encode params recursively.
|
89
|
+
for ( prefix in a ) {
|
90
|
+
buildParams( prefix, a[ prefix ], traditional, add );
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
// Return the resulting serialization
|
95
|
+
return s.join( "&" );
|
96
|
+
};
|
97
|
+
|
98
|
+
jQuery.fn.extend( {
|
99
|
+
serialize: function() {
|
100
|
+
return jQuery.param( this.serializeArray() );
|
101
|
+
},
|
102
|
+
serializeArray: function() {
|
103
|
+
return this.map( function() {
|
104
|
+
|
105
|
+
// Can add propHook for "elements" to filter or add form elements
|
106
|
+
var elements = jQuery.prop( this, "elements" );
|
107
|
+
return elements ? jQuery.makeArray( elements ) : this;
|
108
|
+
} ).filter( function() {
|
109
|
+
var type = this.type;
|
110
|
+
|
111
|
+
// Use .is( ":disabled" ) so that fieldset[disabled] works
|
112
|
+
return this.name && !jQuery( this ).is( ":disabled" ) &&
|
113
|
+
rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
|
114
|
+
( this.checked || !rcheckableType.test( type ) );
|
115
|
+
} ).map( function( _i, elem ) {
|
116
|
+
var val = jQuery( this ).val();
|
117
|
+
|
118
|
+
if ( val == null ) {
|
119
|
+
return null;
|
120
|
+
}
|
121
|
+
|
122
|
+
if ( Array.isArray( val ) ) {
|
123
|
+
return jQuery.map( val, function( val ) {
|
124
|
+
return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
|
125
|
+
} );
|
126
|
+
}
|
127
|
+
|
128
|
+
return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
|
129
|
+
} ).get();
|
130
|
+
}
|
131
|
+
} );
|
132
|
+
|
133
|
+
return jQuery;
|
134
|
+
} );
|
@@ -0,0 +1,97 @@
|
|
1
|
+
define( [
|
2
|
+
"../core",
|
3
|
+
"../var/indexOf",
|
4
|
+
"../var/isFunction",
|
5
|
+
"./var/rneedsContext",
|
6
|
+
"../selector"
|
7
|
+
], function( jQuery, indexOf, isFunction, rneedsContext ) {
|
8
|
+
|
9
|
+
"use strict";
|
10
|
+
|
11
|
+
// Implement the identical functionality for filter and not
|
12
|
+
function winnow( elements, qualifier, not ) {
|
13
|
+
if ( isFunction( qualifier ) ) {
|
14
|
+
return jQuery.grep( elements, function( elem, i ) {
|
15
|
+
return !!qualifier.call( elem, i, elem ) !== not;
|
16
|
+
} );
|
17
|
+
}
|
18
|
+
|
19
|
+
// Single element
|
20
|
+
if ( qualifier.nodeType ) {
|
21
|
+
return jQuery.grep( elements, function( elem ) {
|
22
|
+
return ( elem === qualifier ) !== not;
|
23
|
+
} );
|
24
|
+
}
|
25
|
+
|
26
|
+
// Arraylike of elements (jQuery, arguments, Array)
|
27
|
+
if ( typeof qualifier !== "string" ) {
|
28
|
+
return jQuery.grep( elements, function( elem ) {
|
29
|
+
return ( indexOf.call( qualifier, elem ) > -1 ) !== not;
|
30
|
+
} );
|
31
|
+
}
|
32
|
+
|
33
|
+
// Filtered directly for both simple and complex selectors
|
34
|
+
return jQuery.filter( qualifier, elements, not );
|
35
|
+
}
|
36
|
+
|
37
|
+
jQuery.filter = function( expr, elems, not ) {
|
38
|
+
var elem = elems[ 0 ];
|
39
|
+
|
40
|
+
if ( not ) {
|
41
|
+
expr = ":not(" + expr + ")";
|
42
|
+
}
|
43
|
+
|
44
|
+
if ( elems.length === 1 && elem.nodeType === 1 ) {
|
45
|
+
return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];
|
46
|
+
}
|
47
|
+
|
48
|
+
return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
|
49
|
+
return elem.nodeType === 1;
|
50
|
+
} ) );
|
51
|
+
};
|
52
|
+
|
53
|
+
jQuery.fn.extend( {
|
54
|
+
find: function( selector ) {
|
55
|
+
var i, ret,
|
56
|
+
len = this.length,
|
57
|
+
self = this;
|
58
|
+
|
59
|
+
if ( typeof selector !== "string" ) {
|
60
|
+
return this.pushStack( jQuery( selector ).filter( function() {
|
61
|
+
for ( i = 0; i < len; i++ ) {
|
62
|
+
if ( jQuery.contains( self[ i ], this ) ) {
|
63
|
+
return true;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
} ) );
|
67
|
+
}
|
68
|
+
|
69
|
+
ret = this.pushStack( [] );
|
70
|
+
|
71
|
+
for ( i = 0; i < len; i++ ) {
|
72
|
+
jQuery.find( selector, self[ i ], ret );
|
73
|
+
}
|
74
|
+
|
75
|
+
return len > 1 ? jQuery.uniqueSort( ret ) : ret;
|
76
|
+
},
|
77
|
+
filter: function( selector ) {
|
78
|
+
return this.pushStack( winnow( this, selector || [], false ) );
|
79
|
+
},
|
80
|
+
not: function( selector ) {
|
81
|
+
return this.pushStack( winnow( this, selector || [], true ) );
|
82
|
+
},
|
83
|
+
is: function( selector ) {
|
84
|
+
return !!winnow(
|
85
|
+
this,
|
86
|
+
|
87
|
+
// If this is a positional/relative selector, check membership in the returned set
|
88
|
+
// so $("p:first").is("p:last") won't return true for a doc with two "p".
|
89
|
+
typeof selector === "string" && rneedsContext.test( selector ) ?
|
90
|
+
jQuery( selector ) :
|
91
|
+
selector || [],
|
92
|
+
false
|
93
|
+
).length;
|
94
|
+
}
|
95
|
+
} );
|
96
|
+
|
97
|
+
} );
|
@@ -0,0 +1,22 @@
|
|
1
|
+
define( [
|
2
|
+
"../../core"
|
3
|
+
], function( jQuery ) {
|
4
|
+
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
return function( elem, dir, until ) {
|
8
|
+
var matched = [],
|
9
|
+
truncate = until !== undefined;
|
10
|
+
|
11
|
+
while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {
|
12
|
+
if ( elem.nodeType === 1 ) {
|
13
|
+
if ( truncate && jQuery( elem ).is( until ) ) {
|
14
|
+
break;
|
15
|
+
}
|
16
|
+
matched.push( elem );
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return matched;
|
20
|
+
};
|
21
|
+
|
22
|
+
} );
|