forked from DeadCat/infinite-scroll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More control with callbacks for behaviors
+ You can now extend callbacks without having to basically replicate the entire '_loadcallback' function + Added cufon behavior + Modified manual-trigger behavior + Updated Masonry behavior
- Loading branch information
1 parent
642a069
commit 76a5d98
Showing
6 changed files
with
43 additions
and
77 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
infinte-scroll.tmproj |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
-------------------------------- | ||
Infinite Scroll Behavior | ||
Cufon Refresh | ||
-------------------------------- | ||
+ https://github.com/paulirish/infinitescroll/ | ||
+ version 2.0b2.110617 | ||
+ Copyright 2011 Paul Irish & Luke Shumard | ||
+ Licensed under the MIT license | ||
+ Documentation: http://infinite-scroll.com/ | ||
*/ | ||
|
||
$.extend($.infinitescroll.prototype,{ | ||
|
||
_callback_cufon: function infscr_callback_cufon(newElements) { | ||
Cufon.refresh(newElements); | ||
} | ||
|
||
}); |
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
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
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
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