Skip to content

Commit c1ca3e7

Browse files
committedAug 28, 2018
👨‍🚒 build v3.0.5
1 parent 50279fb commit c1ca3e7

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed
 

‎dist/infinite-scroll.pkgd.js

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Infinite Scroll PACKAGED v3.0.4
2+
* Infinite Scroll PACKAGED v3.0.5
33
* Automatically add next page
44
*
55
* Licensed GPLv3 for open source use
@@ -896,6 +896,10 @@ proto.destroy = function() {
896896

897897
delete this.element.infiniteScrollGUID;
898898
delete instances[ this.guid ];
899+
// remove jQuery data. #807
900+
if ( jQuery && this.$element ) {
901+
jQuery.removeData( this.element, 'infiniteScroll' );
902+
}
899903
};
900904

901905
// -------------------------- utilities -------------------------- //
@@ -937,6 +941,9 @@ InfiniteScroll.setJQuery = function( $ ) {
937941

938942
utils.htmlInit( InfiniteScroll, 'infinite-scroll' );
939943

944+
// add noop _init method for jQuery Bridget. #768
945+
proto._init = function() {};
946+
940947
if ( jQuery && jQuery.bridget ) {
941948
jQuery.bridget( 'infiniteScroll', InfiniteScroll );
942949
}
@@ -1778,7 +1785,7 @@ return InfiniteScroll;
17781785
}));
17791786

17801787
/*!
1781-
* Infinite Scroll v3.0.4
1788+
* Infinite Scroll v3.0.5
17821789
* Automatically add next page
17831790
*
17841791
* Licensed GPLv3 for open source use

‎dist/infinite-scroll.pkgd.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎js/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Infinite Scroll v3.0.4
2+
* Infinite Scroll v3.0.5
33
* Automatically add next page
44
*
55
* Licensed GPLv3 for open source use

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "infinite-scroll",
3-
"version": "3.0.4",
3+
"version": "3.0.5",
44
"description": "Automatically add next page",
55
"main": "js/index.js",
66
"files": [

0 commit comments

Comments
 (0)
Please sign in to comment.