stickybits
Advanced tools
Comparing version 1.0.2 to 1.1.2
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
(factory()); | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
(factory()); | ||
}(this, (function () { 'use strict'; | ||
@@ -6,0 +6,0 @@ |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
(global.stickybits = factory()); | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
(global.stickybits = factory()); | ||
}(this, (function () { 'use strict'; | ||
@@ -6,0 +6,0 @@ |
{ | ||
"name": "stickybits", | ||
"version": "1.0.2", | ||
"version": "1.1.2", | ||
"description": "Stickybits is a lightweight (<2KB) alternative to `position: sticky` polyfills", | ||
@@ -43,7 +43,7 @@ "main": "dist/stickybits.js", | ||
"babel-preset-es2015": "^6.18.0", | ||
"babel-preset-es2015-rollup": "^1.2.0", | ||
"babel-preset-es2015-rollup": "^3.0.0", | ||
"bower": "^1.8.0", | ||
"debug": "^2.2.0", | ||
"eslint": "^3.9.0", | ||
"eslint-config-airbnb": "^12.0.0", | ||
"eslint-config-airbnb": "^14.1.0", | ||
"eslint-plugin-import": "^2.0.1", | ||
@@ -55,6 +55,6 @@ "gulp": "^3.9.1", | ||
"node-qunit-phantomjs": "^1.5.0", | ||
"qunit": "^0.9.1", | ||
"rollup": "^0.36.3", | ||
"qunit": "^1.0.0", | ||
"rollup": "^0.41.6", | ||
"rollup-plugin-babel": "^2.6.1", | ||
"rollup-plugin-commonjs": "^5.0.5", | ||
"rollup-plugin-commonjs": "^8.0.2", | ||
"rollup-plugin-eslint": "^3.0.0", | ||
@@ -61,0 +61,0 @@ "rollup-plugin-node-resolve": "^2.0.0", |
@@ -16,2 +16,5 @@ <p align="center"> | ||
</a> | ||
<a href="https://greenkeeper.io/"> | ||
<img alt="Greenkeeper" src="https://badges.greenkeeper.io/dollarshaveclub/stickybits.svg" /> | ||
</a> | ||
<a href="https://twitter.com/home?status=Stickybits%2C%20A%200%20dep%2C%201kb%20JS%20plugin.%20Make%20things%20get%20sticky%20in%20a%20good%20way!%20%F0%9F%8D%AC%20https%3A%2F%2Fgithub.com%2Fdollarshaveclub%2Fstickybits%40yowainwright"> | ||
@@ -70,2 +73,3 @@ <img alt="Share on Twitter" src="https://img.shields.io/twitter/url/http/shields.io.svg?style=social&maxAge=2592000" /> | ||
#### By default, a selected stickybits element will: | ||
- Stick elements to the top of the viewport when scrolled to vertically. | ||
@@ -72,0 +76,0 @@ - Stick elements at the bottom of their parent element when scrolled past. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23634
185