forked from dollarshaveclub/stickybits
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable to assign window to scrollEl (#195)
* Add Window type to StickyBits.Options.scrollEl * Add unit test for custom scrollEl window * Bump version to 3.7.9 * Run prepush
- Loading branch information
Showing
9 changed files
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
stickybits - Stickybits is a lightweight alternative to `position: sticky` polyfills | ||
@version v3.7.8 | ||
@version v3.7.9 | ||
@link https://github.com/yowainwright/stickybits#readme | ||
@author Jeff Wainwright <[email protected]> (https://jeffry.in) | ||
@license MIT | ||
|
@@ -88,7 +88,7 @@ | |
var _this = this; | ||
|
||
var o = typeof obj !== 'undefined' ? obj : {}; | ||
this.version = '3.7.8'; | ||
this.version = '3.7.9'; | ||
this.userAgent = window.navigator.userAgent || 'no `userAgent` provided by the browser'; | ||
this.props = { | ||
customStickyChangeNumber: o.customStickyChangeNumber || null, | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
stickybits - Stickybits is a lightweight alternative to `position: sticky` polyfills | ||
@version v3.7.8 | ||
@version v3.7.9 | ||
@link https://github.com/yowainwright/stickybits#readme | ||
@author Jeff Wainwright <[email protected]> (https://jeffry.in) | ||
@license MIT | ||
|
@@ -83,7 +83,7 @@ var Stickybits = /*#__PURE__*/function () { | |
var _this = this; | ||
|
||
var o = typeof obj !== 'undefined' ? obj : {}; | ||
this.version = '3.7.8'; | ||
this.version = '3.7.9'; | ||
this.userAgent = window.navigator.userAgent || 'no `userAgent` provided by the browser'; | ||
this.props = { | ||
customStickyChangeNumber: o.customStickyChangeNumber || null, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
stickybits - Stickybits is a lightweight alternative to `position: sticky` polyfills | ||
@version v3.7.8 | ||
@version v3.7.9 | ||
@link https://github.com/yowainwright/stickybits#readme | ||
@author Jeff Wainwright <[email protected]> (https://jeffry.in) | ||
@license MIT | ||
|
@@ -89,7 +89,7 @@ | |
var _this = this; | ||
|
||
var o = typeof obj !== 'undefined' ? obj : {}; | ||
this.version = '3.7.8'; | ||
this.version = '3.7.9'; | ||
this.userAgent = window.navigator.userAgent || 'no `userAgent` provided by the browser'; | ||
this.props = { | ||
customStickyChangeNumber: o.customStickyChangeNumber || null, | ||
|
Oops, something went wrong.