jQuery.contains() handles document objects directly. Close gh-879.
treeb89ce62c6d9e00b6e06499d3b81e3c1e8d6ade3c
-rw-r--r-- 550 .editorconfig
-rw-r--r-- 26 .gitattributes
-rw-r--r-- 155 .gitignore
-rw-r--r-- 171 .gitmodules
-rw-r--r-- 166 .jshintrc
-rw-r--r-- 4961 AUTHORS.txt
-rw-r--r-- 1099 MIT-LICENSE.txt
-rw-r--r-- 773 Makefile
-rw-r--r-- 9722 README.md
drwxr-xr-x - build
-rw-r--r-- 11367 grunt.js
-rw-r--r-- 726 package.json
drwxr-xr-x - speed
drwxr-xr-x - src
drwxr-xr-x - test