Skip to content

Commit

Permalink
Enable to assign window to scrollEl (#195)
Browse files Browse the repository at this point in the history
* 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
ykdr8 authored Feb 14, 2021
1 parent db5fcf9 commit 3ce8950
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 14 deletions.
4 changes: 2 additions & 2 deletions dist/jquery.stickybits.js
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
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.stickybits.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/stickybits.es.js
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
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions dist/stickybits.js
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
Expand Down Expand Up @@ -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,
Expand Down
Loading

0 comments on commit 3ce8950

Please sign in to comment.