{"_id":"is-in-viewport","_rev":"19-4b3c9b7290d544db2ba6b2f6c4c87dc4","name":"is-in-viewport","description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","dist-tags":{"latest":"3.0.4"},"versions":{"2.2.2":{"name":"is-in-viewport","version":"2.2.2","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","scripts":{"test":"grunt test","build":"grunt"},"directories":{"example":"examples"},"repository":{"type":"git","url":"https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"devDependencies":{"grunt":"0.4.x","grunt-blanket-mocha":"^0.4.0","grunt-cli":"^0.1.13","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"0.2.x","mocha":"^1.18.2","phantomjs":"^1.9.7-4","should":"^3.3.1"},"gitHead":"0ab305fb2910f6d93d0299e95e7379658a6a07ed","homepage":"https://github.com/zeusdeux/isInViewport","_id":"is-in-viewport@2.2.2","_shasum":"f756df64e4f1170c8a2d4134b44e25eb10c0dc7e","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.30","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"dist":{"shasum":"f756df64e4f1170c8a2d4134b44e25eb10c0dc7e","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-2.2.2.tgz","integrity":"sha512-IAZOrApeuVO66AsWdLr5GO2s5J01Qy32ojwAyt90p+kqtNsKWWK2FMtQj48gxKOe1AMoBanG4j6Wr7WYaIMIww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5+ROKRpiJvv0ph+nBYcm3s1CzAPnSaiWIv4joc4WVEAiEA18rLIVddqCgNBtO8EetbtFcNN6obqbOJ/zUeVUUstuA="}]}},"2.2.3":{"name":"is-in-viewport","version":"2.2.3","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","scripts":{"test":"grunt test","build":"grunt"},"directories":{"example":"examples"},"repository":{"type":"git","url":"https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"devDependencies":{"grunt":"0.4.x","grunt-blanket-mocha":"^0.4.0","grunt-cli":"^0.1.13","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"0.2.x","mocha":"^1.18.2","phantomjs":"^1.9.7-4","should":"^3.3.1"},"gitHead":"554462dba879b9957c1a818e69bd1125f92cc369","homepage":"https://github.com/zeusdeux/isInViewport","_id":"is-in-viewport@2.2.3","_shasum":"7e85a9057d1998f5d34cca607699d3965bac921a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"dist":{"shasum":"7e85a9057d1998f5d34cca607699d3965bac921a","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-2.2.3.tgz","integrity":"sha512-JRtnVcKqb94u4KF+UmNkJ3umHLqFA1Ios9ufwhvMZIH9XD4QlhNxdjvNBx3i3QwtKzw+SYh4T6foeFROHR1Zlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDox+Ii/PSt1Xe/srUdBeSnvuu93srQPjqWQjnlM4VmLgIgMUMtwvwj9jEibtvigDsQCUto1Ql3VCTivvdrGJvnX5A="}]}},"2.2.4":{"name":"is-in-viewport","version":"2.2.4","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","scripts":{"test":"grunt test","build":"grunt"},"directories":{"example":"examples"},"repository":{"type":"git","url":"https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"devDependencies":{"grunt":"0.4.x","grunt-blanket-mocha":"^0.4.0","grunt-cli":"^0.1.13","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"0.2.x","mocha":"^1.18.2","phantomjs":"^1.9.7-4","should":"^3.3.1"},"gitHead":"7a6533d371c932f7663f1a068b33f96e8c33e43f","homepage":"https://github.com/zeusdeux/isInViewport","_id":"is-in-viewport@2.2.4","_shasum":"9ea3fd5cd6f044e1568df3b48b025bdb200a5a38","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"shasum":"9ea3fd5cd6f044e1568df3b48b025bdb200a5a38","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-2.2.4.tgz","integrity":"sha512-Jah5jx3e45qtUXVsVkNrU54kWWfFvHFWJjIgbJkXOVkrT4bZtM1eQDvg+es+r3j32E/m/yiyv7DiuWmGYdHcxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGO1zzRF0qMBRA/RQzpuSZtKptGxZGUv/GioR7KlueIYAiAyyYrerNxScl0VkbnSOI7vBHyN656PCMftdk26QMtZ6g=="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}]},"2.2.5":{"name":"is-in-viewport","version":"2.2.5","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","scripts":{"test":"grunt test","build":"grunt"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"devDependencies":{"grunt":"0.4.x","grunt-blanket-mocha":"^0.4.0","grunt-cli":"^0.1.13","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"0.2.x","mocha":"^1.18.2","phantomjs":"^1.9.7-4","should":"^3.3.1"},"gitHead":"919f0c1b82a4e881eab7c9345390a88a89203077","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@2.2.5","_shasum":"1e9196e29d7cc7d7801f25dca672dfa3d3acb0b8","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"shasum":"1e9196e29d7cc7d7801f25dca672dfa3d3acb0b8","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-2.2.5.tgz","integrity":"sha512-4oq8FL7guny5EJuv9qcrlN+m4lO+bIg/qDhX2PyUE82VdTi4qi0STp1vUSuFLe03SeTncNSH0Dzg25TL6rRniw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrP5fja2duxd1IXuVvOTmAmef0rP5dPk/lgvmS8w1i/gIgRyDULteEHohpZjidiLd4GPKDTDhzUIaYpk7j1qqEuZM="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}]},"2.3.0":{"name":"is-in-viewport","version":"2.3.0","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","scripts":{"test":"grunt test","build":"grunt"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"devDependencies":{"grunt":"0.4.x","grunt-blanket-mocha":"^0.4.0","grunt-cli":"^0.1.13","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"0.2.x","mocha":"^1.18.2","phantomjs":"^1.9.7-4","should":"^3.3.1"},"gitHead":"c966132e7c5ea8d61768d76bc5943ee4a9f5be4c","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@2.3.0","_shasum":"9e4c976ad0263859b93d3daac3155705986aedaa","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"shasum":"9e4c976ad0263859b93d3daac3155705986aedaa","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-2.3.0.tgz","integrity":"sha512-UGJ13KIs89U0wkFUctuK+JRYG0W8Mgyv46mx89At0rSHckbek/Kcj6QgXff8GYcKBvQ8KITyjYlwK3c1J/x5uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIASwgmfhSDy+L05jrhZBuiC/alUU3Ia5VvnAJsGK9+b9AiEAwRSxQzwyDhLPm7CEWZ6X4lOGnaGJ3ycyA1fx5CfyyYM="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}]},"2.3.1":{"name":"is-in-viewport","version":"2.3.1","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","scripts":{"test":"grunt test","build":"grunt"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"devDependencies":{"grunt":"0.4.x","grunt-blanket-mocha":"^0.4.0","grunt-cli":"^0.1.13","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"0.2.x","mocha":"^1.18.2","phantomjs":"^1.9.7-4","should":"^3.3.1"},"gitHead":"6f2fc98dc5ba74d3d736656b890a419c9f7e8f8d","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@2.3.1","_shasum":"c700c197b865e5abdeb8a8e3048ce2bbf3834d54","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"shasum":"c700c197b865e5abdeb8a8e3048ce2bbf3834d54","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-2.3.1.tgz","integrity":"sha512-7MZfBTo1xllm7yC8ca2Z0aJDC9JohjC66GFp+q06Wo2TtplXB4fENucHy30uEQ6HC1e6KOfbjTt+e/Uc/2y36g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTqka+z/KU002bMyON51rxcZY/sGTQdBYKvupjFrF7AQIhAJGyiY7kbMnPmDKq7+U6S7/OZuCidn+zI3Ckyh1FwRCx"}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}]},"2.4.0":{"name":"is-in-viewport","version":"2.4.0","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","scripts":{"test":"grunt test","build":"grunt","postinstall":"grunt"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"devDependencies":{"grunt":"0.4.x","grunt-blanket-mocha":"^0.4.0","grunt-cli":"^0.1.13","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"0.2.x","mocha":"^1.18.2","phantomjs":"^1.9.7-4","should":"^3.3.1"},"gitHead":"1e9dd2bead65d98b7321277047d5be0b79863a15","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@2.4.0","_shasum":"d18665935675ab490ae186a354a0a09de4fe286f","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"shasum":"d18665935675ab490ae186a354a0a09de4fe286f","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-2.4.0.tgz","integrity":"sha512-/r1AFvIpjJqUV1VA8T7ClK70RFsXOlo1WKr+08DJZliBjdC4NY5UX9Q1GH7ZFI3adcGYvvx1RFj4ZYa6pKtOpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXQLacPSYM7QuPdfzZlVhlUzasKc7Y8HqVDJ4v5N1QUAiEAwKVGNcxvQ69O5nv1yi8z7MzfW4IHbMWZe9iToA52jbo="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-in-viewport-2.4.0.tgz_1467709644478_0.1531123910099268"}},"2.4.1":{"name":"is-in-viewport","version":"2.4.1","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","scripts":{"test":"grunt test","build":"grunt","postinstall":"grunt"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"devDependencies":{"grunt":"0.4.x","grunt-blanket-mocha":"^0.4.0","grunt-cli":"^0.1.13","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"0.2.x","mocha":"^1.18.2","phantomjs":"^1.9.7-4","should":"^3.3.1"},"gitHead":"c87096a571b446ae929dd1c45c22e32d4095eca7","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@2.4.1","_shasum":"4b6af4d852fcc88a9bcbfb91ccc1f0c56e30ae26","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"shasum":"4b6af4d852fcc88a9bcbfb91ccc1f0c56e30ae26","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-2.4.1.tgz","integrity":"sha512-3n3r3Vjjl3d7mV3v6x5iYzJbfhFAe+sDcUcz8VzcLzANsm8sOwmlxnnDmU7maMjB5RUYhZSUWk7dqbfVpW096w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBGsexfPYgCDv8rjabzTlXRdfr+SZtjFmZAU9WlM78v/AiANpp+jiE2OQFVac+L81edqvdAhunpsfDUE1fkMZxuiBg=="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-in-viewport-2.4.1.tgz_1467710364711_0.348051936365664"}},"2.4.2":{"name":"is-in-viewport","version":"2.4.2","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","scripts":{"test":"grunt test","build":"grunt"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"devDependencies":{"grunt":"0.4.x","grunt-blanket-mocha":"^0.4.0","grunt-cli":"^0.1.13","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"0.2.x","mocha":"^1.18.2","phantomjs":"^1.9.7-4","should":"^3.3.1"},"gitHead":"948503a87de236e2692901f31193bcb56ba95192","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@2.4.2","_shasum":"00a531285ee63d1a48230173f1dfd8731478f3a4","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"shasum":"00a531285ee63d1a48230173f1dfd8731478f3a4","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-2.4.2.tgz","integrity":"sha512-mjui7O7hW6sRccZIiBCUVJQg4JedphZtphxfitX6hqaorimAiISLxGZh5Be6bdgV1t6RJBBEBdf5kTWjsKRsEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICuYFVlilZKyXa58EWcn60DKhFPVDvZeXhkmPStLOVUaAiAb6TZMklZoFfYf/21PSzdo5Kx7xxPbwm8aZUN9CihRtQ=="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-in-viewport-2.4.2.tgz_1470831826835_0.9441196799743921"}},"3.0.0":{"name":"is-in-viewport","version":"3.0.0","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","module":"lib/isInViewport.es6.js","scripts":{"test":"gulp test","build":"gulp","clean":"gulp clean","prepublish":"gulp"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"peerDependencies":{"jquery":">1.7.0"},"devDependencies":{"del":"^2.2.2","eslint":"^3.17.1","eslint-config-standard":"^7.0.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^2.1.1","gulp":"^3.9.1","gulp-buble":"^0.8.0","gulp-cli":"^1.2.2","gulp-concat":"^2.6.1","gulp-eslint":"^3.0.1","gulp-mocha-phantomjs":"^0.12.1","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.4.1","gulp-uglify":"^2.1.0","mocha":"^3.2.0","pump":"^1.0.2","rollup-plugin-buble":"^0.15.0","rollup-stream":"^1.19.0","should":"^11.2.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0"},"gitHead":"e0950c224e08cdbcec7f7b07a68d3c744856fcd3","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@3.0.0","_shasum":"77186716c21dbe5a165517d852bd332dbbcde2a2","_from":".","_npmVersion":"4.1.1","_nodeVersion":"7.2.1","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"shasum":"77186716c21dbe5a165517d852bd332dbbcde2a2","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-3.0.0.tgz","integrity":"sha512-C0VCBWgDoCP98+YQrVlyMiu1KufInfc3TIeQE4bjt9TuxvVwsAtCTSS0Qyw9cruB8WzpgMGcpXd0VXKyUNYDYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvL6dQ3cKw7e6vhHnneoHRfYDp/0CVXwrdf+vVu1FvTAiANCKCmJXAYNlaGRg/kSpAvgchqgmxZSU+0rlqdtVNyUA=="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-in-viewport-3.0.0.tgz_1489356597803_0.4343699833843857"}},"3.0.1":{"name":"is-in-viewport","version":"3.0.1","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","module":"lib/isInViewport.es6.js","scripts":{"test":"gulp test","build":"gulp","clean":"gulp clean","prepublish":"gulp"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"peerDependencies":{"jquery":">1.7.0"},"devDependencies":{"del":"^2.2.2","eslint":"^3.17.1","eslint-config-standard":"^7.0.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^2.1.1","gulp":"^3.9.1","gulp-buble":"^0.8.0","gulp-cli":"^1.2.2","gulp-concat":"^2.6.1","gulp-eslint":"^3.0.1","gulp-mocha-phantomjs":"^0.12.1","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.4.1","gulp-uglify":"^2.1.0","mocha":"^3.2.0","pump":"^1.0.2","rollup-plugin-buble":"^0.15.0","rollup-stream":"^1.19.0","should":"^11.2.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0"},"gitHead":"44404fe2a95b4fa71a1678a5ce4281a1f98813d8","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@3.0.1","_npmVersion":"5.5.1","_nodeVersion":"9.1.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-X3ukrqpDbxOZOVuabkezf3O2qWonCeHziG5OqnP/vJ6p4cXJUXqSw9ZNJab+UPRDLd4REJtT2Dn+mkUbSTNx3w==","shasum":"e23524077179cf8a1db4e90cbb63c91073dc3b74","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-3.0.1.tgz","fileCount":36,"unpackedSize":461733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa918+CRA9TVsSAnZWagAAAkoP/iaoPoPq8XTICp+GEued\n59PVnMcfjwYg6Xv5812WMBs3ly/Z3i+QshfLsMxMAVulZEDm/ubmQZ7ZDf1D\nmYM2MPw34rG3ZNStRL4D1IuzCJPKJdqQ9NpUu+CUd6oVCqSYRoz9WyqpwUle\nWFiwHMG1JWEkWdAXEFDbrmyc+3SlU4mRGARXgsG26lr/rcvcVo5J9IY3Mc5G\nYylYlAFeZ3wieEHCSS8rT2mT8UjQV0R8z0SkijJUsedTCZmn/r+CbQ1FOcah\n/G/Pw8Zci4avNDLpwVDExn6GPVUzVVu3XOCToOqPCaqGcG9UAZaaSqUY/hie\nUNF5tUsHFCYQYS2BeSqG60KhnLOsdV0XP+TsGOf9jfQV99d2TuolH4Ep0n6f\nSlURE6r+1dcoEoiVO+zxUVbjZMTbyLrIe+IIwDQgZZ9SbZpo8cgB/3XTw0fv\nOHGq4ZfTSrQzuVm0RC/XdDGO4wlZjD9w/oCUT0Sk1ERvnyWZpzjPWvu+ZLdf\nqh/hEOayltAq69JL5yDAFtFYedCuvE8VhblM/LxRrgcjwCacFil9P8Y0whov\n7ieTUCDXIT1Dd6hRZU8SgF/TImxAU/NXjZNT3g1RXbG4x9ISwPHUQC4WEaKy\nRwPqhx86iMDUGdiENJonT7oWAkhWUSfxgWt+IEWYvQRFVHv5pp40Vhhvzgcm\nl/N2\r\n=M/qa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOPmuYOZFrwuebARpVwf1kFrEC1ZiMU08UdEPU+Tr1OAiAtWov4hspF/9JyRROMRqAaQNdeV0S+EazhmKf9pChlLA=="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-in-viewport_3.0.1_1526161212877_0.49760286034304735"},"_hasShrinkwrap":false},"3.0.2":{"name":"is-in-viewport","version":"3.0.2","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","module":"lib/isInViewport.es6.js","scripts":{"test":"gulp test","build":"gulp","clean":"gulp clean","prepublish":"gulp"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"peerDependencies":{"jquery":">1.7.0"},"devDependencies":{"del":"^2.2.2","eslint":"^3.17.1","eslint-config-standard":"^7.0.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^2.1.1","gulp":"^3.9.1","gulp-buble":"^0.8.0","gulp-cli":"^1.2.2","gulp-concat":"^2.6.1","gulp-eslint":"^3.0.1","gulp-mocha-phantomjs":"^0.12.1","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.4.1","gulp-uglify":"^2.1.0","mocha":"^3.2.0","pump":"^1.0.2","rollup-plugin-buble":"^0.15.0","rollup-stream":"^1.19.0","should":"^11.2.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0"},"gitHead":"968867a3cdb180bd0a9d65085c611c383e969718","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@3.0.2","_npmVersion":"5.5.1","_nodeVersion":"9.1.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-nvHG5m6jOcm8FQCqjLeFWWWy/Y2ek1eh+Y80k0kAF7m2KiTBoHNq6WTcUF404/CQ+5i78xHBui6zdyAt6VRGmQ==","shasum":"d1c8559be28f1e4084e28124ccde214769cb7c34","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-3.0.2.tgz","fileCount":36,"unpackedSize":461717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa93rVCRA9TVsSAnZWagAAVBwQAIp71zeHLfEWfZp1b15S\nBDXJrd4HlUlSSnMjRl+jS57b0eNEOEG0k9rY1hibVbSufRMC/sLGjB/OAPgZ\nLzu5Ts5WlXUF0hr7uhDzp/oZBK/YdH2LAIB5AAYPcYPqgtTWE9UV2z+krx53\nZXtPFLnq0KiGXIkC2OK//kHA+jzfYU7/w8EuA//CJhMFMhN/rY9e1bvBhRl4\nDwUcuR2FTKCW+k9Ts+1xh+0U6ZyyZbF6RIBKORJVrITWzzzn/UYmVW43I9m2\nNtCAfJF0lzcdgXfrQSiwgoSpt5I8ldMk4TDXXEpx92N1cq2Ma2WgriBQ5f6x\nv4KLh2U0k8/czZFJLR09qsELSyIHAzkKsO7qvyx5Ptp36xMfKcQdzDxxLxod\no00YhUzKh2NEmx1KLQKy0KZ/+LhfYMqxJkVisG0oe7vx/WmvGljkowVfdFCH\nzVuN69yrYZclDQX0ZIgl+3Pe7SS8Fw30p1JCTuB86u7KT0jF2WJJBcRJ+jsH\na4jQvNNWuWClNBmMouK5g4mIdAy3YA7cM+BHtOzu9Ifek4fh7Vi/7ATzol2P\nn3lQAsMLj0L58dcSPUTqMQcEZv5qGHhWG5RV+qfqcvwpFMW0jo+oGfSfyy0w\nJX4SlQMykPvI1kbqg5Dt+XxSJdAMNlSMoFKAUZBWcx+T1/KNYiWseFph6h7N\nCJEX\r\n=D9hQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFQG5ZsuWz+U7GzHXrELW7ZtPFtYxIoKOZa+FMv/cOuEAiB0WpS8IG5l1Mx0ECblLdw9Eo2smi5VRvzoyv8/cSS+LA=="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-in-viewport_3.0.2_1526168276929_0.11869867073312612"},"_hasShrinkwrap":false},"3.0.3":{"name":"is-in-viewport","version":"3.0.3","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","module":"lib/isInViewport.es6.js","scripts":{"test":"gulp test","build":"gulp","clean":"gulp clean","prepublish":"gulp"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"peerDependencies":{"jquery":">1.7.0"},"devDependencies":{"del":"^2.2.2","eslint":"^3.17.1","eslint-config-standard":"^7.0.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^2.1.1","gulp":"^3.9.1","gulp-buble":"^0.8.0","gulp-cli":"^1.2.2","gulp-concat":"^2.6.1","gulp-eslint":"^3.0.1","gulp-mocha-phantomjs":"^0.12.1","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.4.1","gulp-uglify":"^2.1.0","mocha":"^3.2.0","pump":"^1.0.2","rollup-plugin-buble":"^0.15.0","rollup-stream":"^1.19.0","should":"^11.2.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0"},"gitHead":"ab43b6bd4e3b4f07b335cad0b733ec08e969a3c4","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@3.0.3","_npmVersion":"5.5.1","_nodeVersion":"9.1.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-2hJadUqcsXunTIJMEj5utqs+Z1W3UEGqY5rP/s6d/XWEGp0ikzJTJn9h6IxWDE+uMc97YBitLXtVR0W9clgfog==","shasum":"02854977c13033a82cc29be877b2265673107d9e","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-3.0.3.tgz","fileCount":36,"unpackedSize":462157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+DxcCRA9TVsSAnZWagAAmHQQAJJge3XoCo1Kx+9lHwNb\nD5fDb9ZPBvDOiKF/QMvKN9W5fJhWZMN1ZOljK4U789SEO5tg2IJCJqTboXKd\nRJA57qzrQeZlGbSXUdmdd1toSpefvdUCcyfqKceRJgQVt5BpSJdpBvEvKRlR\nPLONoVzaMjCYVXxXbvhuiSp8p34B4Q2c6N6xpaQEQYalMYrfbZwtevJA7u9M\nFbgR1pNnSiOBhvVb/NIjW9rOKyElZ3L5EWs5lC9MvCWLXwYxDCOPxZv5zO4O\nur8bcHD+cFtH2GF208V5o/QjKQQWee7VYIz1JgtTQK9x7K8FgxlgR0RGb56e\nxKDhIbtp+77kAnLJrtxpLs1TJ8APNKm2YOBdHvXRZqiqkszTPgJXNgVkJq1a\nZexHcM7nMiycaHt56dXFjqmSpAfgpuCuI8p1puPHJqG4sA3KfAeKpTzXoRi6\nwcTtsLgpJpVEWYaPeAu/BSQR2XQco4iUe1gwl7wMC9QRh5DMs+RMvDswa3BT\nb6j7ECok7HbE9HaHFd8+IkdOez4vo7nrjTAHvpQWaI5/sPFZ+o/KVk+h+U+2\n9eNyrPhQQyZIlRRKLyTGkpOXGcBeKYjTvsaIznq9b+bVOReJrY0NEig5yFAi\nqSRmNyGduzGub8+22i4mpanhbEMBUNHrskHoIaHOtKBfF3oh33cZHeaIIkuu\nRSa6\r\n=R4o5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs4Rk5lLERbMiePEfAt0H9bh9EXD92eeXLcZRUoWTBsQIgRO+c3sGgEovQ5kuHKHS5DJXEZxDc/oElI11xERoYruk="}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-in-viewport_3.0.3_1526217818795_0.9935757550806725"},"_hasShrinkwrap":false},"3.0.4":{"name":"is-in-viewport","version":"3.0.4","private":false,"description":"An ultra-light jQuery plugin that tells you if an element is in the viewport but with a twist.","main":"lib/isInViewport.js","module":"lib/isInViewport.es6.js","scripts":{"test":"gulp test","build":"gulp","clean":"gulp clean","prepublish":"gulp"},"directories":{"example":"examples"},"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"keywords":["viewport","jquery","jquery-plugin"],"author":{"name":"Mudit Ameta"},"license":"MIT","bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"peerDependencies":{"jquery":">1.7.0"},"devDependencies":{"del":"^2.2.2","eslint":"^3.17.1","eslint-config-standard":"^7.0.1","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^2.1.1","gulp":"^3.9.1","gulp-buble":"^0.8.0","gulp-cli":"^1.2.2","gulp-concat":"^2.6.1","gulp-eslint":"^3.0.1","gulp-mocha-phantomjs":"^0.12.1","gulp-rename":"^1.2.2","gulp-sourcemaps":"^2.4.1","gulp-uglify":"^2.1.0","mocha":"^3.2.0","pump":"^1.0.2","rollup-plugin-buble":"^0.15.0","rollup-stream":"^1.19.0","should":"^11.2.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0"},"gitHead":"1e174a5d6e1e13caeab9b97c693c42043451fb07","homepage":"https://github.com/zeusdeux/isInViewport#readme","_id":"is-in-viewport@3.0.4","_npmVersion":"5.5.1","_nodeVersion":"9.1.0","_npmUser":{"name":"zeusdeux","email":"zeusdeux@gmail.com"},"dist":{"integrity":"sha512-J7+83nXH58ddAUgspnxycmxhwzaGByQ0KhGVapLW8YYlG5DY1tdoIkThs2UX4GavpOSi6+682lv2clgdNnRaKA==","shasum":"45eb138640ac72d58fd0c0e98e11aeb261adc3dc","tarball":"https://registry.npmjs.org/is-in-viewport/-/is-in-viewport-3.0.4.tgz","fileCount":36,"unpackedSize":461679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbAKLaCRA9TVsSAnZWagAAxT0P/Rfhshq3jhIrbn87LaAB\nHWjGpH6ODRCUhf+OQSkbmuwZSYmKMyWtbTOlQ7jzOU8DbFiUV/Px6cHaLVUi\nk85MYfES+R6i9LnRbk/J04FVuWw9I+qG/Y/d8+F2zorW8nHJpZVuwiQfo2Uv\nBKLfHBroz/ObVeraNK71amgGA+F0AWz6oEygOTjgyC77qJAwZBdM3Wr6tT78\n1F5p4nKmnqD0OX789Rk6Idwfi9x9d8atPxCnsnnrf4atch09eLD3yTusnQ1I\nIp7/tKQE6JEIoT9E4RaYfDsptLDIDh9KXsSOiKkPUWJaVyCrCVf+JSdxFXDs\npS0UXVKGVu1wB/1l4BZEu0EkN1jvDRAWQNEr1Gms6BaVuP4dVI7M2XYzlJq1\nT7VO3CvDR2ucD0VgSKe+/6GJEWan6FN3UtZhXffyDDSHGK7jyVwKFPXwF53I\nrW+IazT7xy9Bmf2aA83aPq2abpPZhPnouOpQOvgWzkliJRlKgOnmkfZm9o2D\nXOWscYHXugg9CpG+zoE1HOuHyep7QBrlD289NAupBmDCx/wtNbPHw9bVJbEV\nY4X4p2wCixrgF2jZ6Bj3IzMkwT39oFKOOQLRL4UNCYA5r0DQowa2nFVoKmrg\nsKcJrVqbmeyHVnFEjY0q/bC+AZnSNO4/SfxS7towZ6tJa3q9Sp4rjK639aN2\nrdJB\r\n=4Wyc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcKjrFQfv+pY2CwXhUPm2gU1Cj+SzmEvnWXSr1fflKXgIhAPU1+Eg5xIXm7fbUbSCZv0eK1DVwmtqDuXIcj+uUgE2t"}]},"maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-in-viewport_3.0.4_1526768343746_0.46389193689084096"},"_hasShrinkwrap":false}},"readme":"isInViewport.js\n================\n[![Build Status](https://travis-ci.org/zeusdeux/isInViewport.svg?branch=master)](https://travis-ci.org/zeusdeux/isInViewport)\n[![CDNJS](https://img.shields.io/cdnjs/v/is-in-viewport.svg)](https://cdnjs.com/libraries/is-in-viewport)\n\nAn ultra-light jQuery plugin that tells you if the element is in the viewport, but with a twist.\n\nDid you say [demo](http://www.isinviewport.mudit.xyz) (inclusive of tests)?\n\nInstallation\n----------------\n#### Using in a module\n\n```js\nnpm install --save is-in-viewport\n```\nYou can then `require('is-in-viewport')` or `import 'is-in-viewport'` in your code.\nIt will automagically work with the bundler of your choice. If it breaks, please feel free to open an issue.\n\nExample usage in an ES6/ES2015 module is shown [in the `examples/es6-example`](./examples/es6-example/) folder.\n\n__Note__: `isInViewport` is a side-effecting module. It imports `jquery` that you have installed and attaches itself on it.\nAs a consequence, `isInViewport` requires `jquery` to be installed as a peer dependency.\nYour bundling will fail if `jquery` isn't installed as [`is-in-viewport` `import`s `jquery`](./src/index.js#L1).\n\n#### Using directly in a script tag\n\n- Get the release that you want from [releases/tags](https://github.com/zeusdeux/isInViewport/releases) (or `bower install isInViewport` or `npm install --save is-in-viewport`)\n- Copy/link either `isInViewport.js` or `isInViewport.min.js` and the respective sourcemap from the `lib` folder to your folder containing your scripts\n- Add it after you include `jQuery`\n- You're ready to go!\n\nUsage\n----------------\n<a name=\"bu\"/>\n\n#### Basic usage\n\n```javascript\n$( 'selector:in-viewport' )\n```\nWhen used as a selector it returns all the elements that match. Since it returns the element(s) it can *thus be chained* with other jQuery methods. It can also be used with jquery's `.is`.\n\n###### Example:\n```javascript\n$( 'div:in-viewport' ).css( 'background-color', 'red' );\n// same as\nvar $div = $( 'div' );\nif ( $div.is( ':in-viewport' ) ) {\n  $div.css( 'background-color', 'red' );\n}\n```\nBoth of the above will set the `background-color` as `red` for all `div`s that are in the viewport.\n\n#### Advanced usage\n\n##### Using `in-viewport` pseudo-selector\n\n```javascript\n$( 'selector:in-viewport( tolerance[, viewport selector] )' )\n```\nThis returns all the elements that are in the viewport while taking into account the `tolerance` criterion.\n\nSince it returns the element(s) it can *thus be chained* with other jQuery methods.\n\nWhen a viewport selector is specified, it uses that to calculate if the element is in *that* viewport or not.\n\nWhen a viewport selector is *not* specified, it defaults to *window* as the viewport.\n\nThe viewport selector is any valid jQuery selector.\n\n###### Defaults:\n- `tolerance` defaults to `0`\n- `viewport` defaults to `window`\n\n###### Example:\n```javascript\n//example 1\n//the height of tolerance region is 100px from top of viewport\n$( 'div:in-viewport( 100 )' ).css( 'background-color', 'red' );\n\n//example 2\n//the height of tolerance region is (viewport.height - 100px) from top of viewport\n$( 'div:in-viewport( -100 )' ).css( 'background-color', 'green' );\n\n//example 3\n$('#viewport > div.box:in-viewport( 100, #viewport )').css( 'background-color', 'blue' )\n                                                      .text( 'in viewport' );\n```\n\n__Example 1__ will set the `background-color` as `red` for all `divs` that are in the viewport with a `tolerance` of `100px`.\n\n__Example 2__ will set the `background-color` as `green` for all `divs` that are in the viewport with a `tolerance` of `viewport height - 100px`. This lets the user conveniently provide a `tolerance` value closer to the viewport height without having to call `$(viewport).height()` all the time.\n\n__Example 3__ will set the `background-color` as `blue` and `text` as `in viewport` for all `divs` that are in the custom viewport given by `#viewport` and with a `tolerance` of `100px`.\n\nWith the advanced usage it becomes very easy to build things like menus with items that get auto-highlighted based on which section you are on, transition effects when an element comes into the viewport, etc.\n\nSee the examples in the `examples` directory for more clarity.\n\n###### Note:\n- When `tolerance` is `0` or `undefined` it is actually *equal to* `tolerance: $(viewport).height()` and *not* `0`.\n\nThis makes it easier for developers to have the whole `viewport` available to them as a valid `viewport`.\n\n\n##### Using exposed `isInViewport` function\n\n```javascript\n$( 'selector' ).isInViewport({ tolerance: tolerance, viewport: viewport })\n```\nThis returns all the elements that are in the viewport while taking into account the `tolerance` criterion.\n\nSince it returns the element(s) it can *thus be chained* with other jQuery methods.\n\nWhen a viewport is specified, it uses that to calculate if the element is in *that* viewport or not.\n\nWhen a viewport is *not* specified, it defaults to *window* as the viewport.\n\n**The viewport is a valid DOM element or jQuery wrapped DOM element, NOT a selector string.**\n\n###### Defaults:\n- `tolerance` defaults to `0`\n- `viewport` defaults to `window`\n\n###### Example:\n```javascript\n//example 1\n//the height of tolerance region is 100px from top of viewport\n$( 'div' ).isInViewport({ tolerance: 100 }).css( 'background-color', 'red' );\n\n//example 2\n//the height of tolerance region is (viewport.height - 100px) from top of viewport\n$( 'div' ).isInViewport({ tolerance: -100 }).css( 'background-color', 'green' );\n\n//example 3\nvar $viewport = $('#viewport');\n\n$viewport\n  .find('div.box')\n  .isInViewport({ tolerance: 100, viewport: $viewport })\n  .css( 'background-color', 'blue' )\n  .text( 'in viewport' );\n```\n\n\n## Support\n__Chrome, Firefox 3.5+, IE9+, Safari 5+, Opera 10.5+__\n\n## Note\n- `:in-viewport` selector *does* support chaining.\n\nChangelog\n----------------\n`3.0.3`\n\n- Use `jQuery.expr.pseudos` when found since `jQuery.expr[':']` is deprecated\n\n`3.0.2`\n\n- Support new rollup properties and get rid of removed rollups properties (`moduleId`, `moduleName`, etc)\n\n`3.0.1`\n\n- Fix jQuery no conflict mode issue (#39)\n\n`3.0.0`\n\n- Remove the deprecated `$(el).do` method\n- Remove support for browsers < { IE9, Safari 5, Opera 10.5, Firefox 3.5 }\n- Add support for modules and bundlers. You can now `import 'is-in-viewport'`/`require('is-in-viewport')` in your project (yay!)\n- Add properly functioning sourcemaps for easier debugging\n\n`2.4.2`\n\n- Remove `postInstall` script which was breaking builds\n\n`2.4.1`\n\n- Undo `2.4.0` as `is-in-viewport` already exists on bower and isn't owned by me\n\n`2.4.0`\n\n- Update `bower.json` to comply with new validations\n- Rename package on bower to match with that on npm i.e., `is-in-viewport`\n\n`2.3.1`\n\n- Remove unnecessary boolean coercion\n\n`2.3.0`\n\n- Re-exposed `isInViewport` with saner semantics. You can now pass options as JS objects to `isInViewport` and hence can now do things like:\n  ```javascript\n  var $viewport = $(<viewport selector>);\n\n  $viewport\n    .find(<selector for elements>)\n    .isInViewport({ tolerance: 100, viewport: $viewport }) // <- passing the viewport jQuery object in directly\n    .css(color: 'red');\n  ```\n- Deprecated `do` in favour of `run`\n- When available, `isInViewport` now uses `Sizzle.selectors.createPseudo`\n\n`2.2.5`\n\n- Updated readme to point to new demo. Mostly a bump for npm to pickup the new readme.\n\n`2.2.4`\n\n- Pulled [#15](https://github.com/zeusdeux/isInViewport/pull/15)(fixes horizontal viewport check)\n\n`2.2.3`\n\n- Allow use as CommonJS -> [#19](https://github.com/zeusdeux/isInViewport/pull/19)\n- Fixed gruntfile. It now generates proper filenames during build.\n\n`2.2.2`\n\n- Published to `npm`\n- Updated install instructions to include `npm`\n\n`2.2.1`\n\n- Pulled in a few bugfixes\n- Fixed ie8 bugs\n\n`2.2.0`\n\n- Aliased the `.do` method with `.run` since `do` is a reserved word and errors out when used as a property in IE. To be on the safer side, use `.run` to chain any arbitrary function or an array of functions.\n\n`2.1.0`\n\n- Added a `.do` method that lets the user chain any arbitrary function or an array of functions. Example:\n\n```javascript\n//usage 1: pass a function\n$( 'div:in-viewport' )\n  .do(function(){\n    console.log( this ); //will log the current jQuery element object it's being called on\n  })\n  .css( 'background-color', 'red' );\n\n//usage 2: pass an array of functions\nvar fnArray = [\n                function(){ console.log(\"Fn 1: %o\", this); },\n                function(){ console.log(\"Fn 2: %o\", this); }\n                //or say another function that maybe adds\n                //elements to be tracked when in viewport\n              ];\n$( 'div:in-viewport' ).do(fnArray);\n```\n\n`2.0.0`\n\n- Added support for negative `tolerance` values that are now relative to the `viewport` height\n- Added support for custom viewport selector (see [Advanced usage](#advanced-usage))\n- Added support for checking if an element is in viewport both horizontally and vertically. (checks both now)\n- Removed support for the old usage syntax in favour of the `:in-viewport` selector i.e.,\n```javascript\n//removed\n$( selector ).isInViewport( {\"tolerance\" :100, \"debug\": true} )\n\n//current usage\n$( 'selector:in-viewport( 100 )' )\n```\n- Removed the `debug` option because, lets be honest, no one really used it.\n- Removed the weird code that handled *end of page* condition in the core. It's the user's\nprerogative to do what he/she wants when their page is scrolled to *end of page*.\n\n`1.1.1`\n\n- Added `bower` support.\n\n`1.1.0`\n\n- Added support for `:in-viewport` selector as per [joeframbach's](http://www.reddit.com/user/joeframbach) suggestion.\n","maintainers":[{"name":"zeusdeux","email":"zeusdeux@gmail.com"}],"time":{"modified":"2022-06-19T02:43:23.105Z","created":"2015-01-14T08:49:03.883Z","2.2.2":"2015-01-14T08:49:03.883Z","2.2.3":"2015-03-02T12:15:51.320Z","2.2.4":"2015-04-14T23:38:19.820Z","2.2.5":"2015-11-15T13:37:36.255Z","2.3.0":"2015-11-15T19:50:09.472Z","2.3.1":"2016-01-13T10:06:55.940Z","2.4.0":"2016-07-05T09:07:27.024Z","2.4.1":"2016-07-05T09:19:26.957Z","2.4.2":"2016-08-10T12:23:49.675Z","3.0.0":"2017-03-12T22:09:58.508Z","3.0.1":"2018-05-12T21:40:12.971Z","3.0.2":"2018-05-12T23:37:57.055Z","3.0.3":"2018-05-13T13:23:39.051Z","3.0.4":"2018-05-19T22:19:05.008Z"},"homepage":"https://github.com/zeusdeux/isInViewport#readme","keywords":["viewport","jquery","jquery-plugin"],"repository":{"type":"git","url":"git+https://github.com/zeusdeux/isInViewport.git"},"author":{"name":"Mudit Ameta"},"bugs":{"url":"https://github.com/zeusdeux/isInViewport/issues"},"license":"MIT","readmeFilename":"readme.md"}