Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Converted tabs to spaces

  • Loading branch information...
commit e8aa54e41c837cad59d9665e39b6eec670c62981 1 parent 4bf0631
@niftylettuce authored
Showing with 35 additions and 35 deletions.
  1. +35 −35 Readme.md
View
70 Readme.md
@@ -13,41 +13,41 @@ As of version 2.0, option names have changed. Here is a list:
```javascript
$('.selector').infinitescroll({
loading: {
- finished: undefined,
- finishedMsg: "<em>Congratulations, you've reached the end of the internet.</em>",
- img: "http://www.infinite-scroll.com/loading.gif",
- msg: null,
- msgText: "<em>Loading the next set of posts...</em>",
- selector: null,
- speed: 'fast',
- start: undefined
- },
- state: {
- isDuringAjax: false,
- isInvalidPage: false,
- isDestroyed: false,
- isDone: false, // For when it goes all the way through the archive.
- isPaused: false,
- currPage: 1
- },
- callback: undefined,
- debug: false,
- behavior: undefined,
- binder: $(window), // used to cache the selector
- nextSelector: "div.navigation a:first",
- navSelector: "div.navigation",
- contentSelector: null, // rename to pageFragment
- extraScrollPx: 150,
- itemSelector: "div.post",
- animate: false,
- pathParse: undefined,
- dataType: 'html',
- appendCallback: true,
- bufferPx: 40,
- errorCallback: function () { },
- infid: 0, //Instance ID
- pixelsFromNavToBottom: undefined,
- path: undefined
+ finished: undefined,
+ finishedMsg: "<em>Congratulations, you've reached the end of the internet.</em>",
+ img: "http://www.infinite-scroll.com/loading.gif",
+ msg: null,
+ msgText: "<em>Loading the next set of posts...</em>",
+ selector: null,
+ speed: 'fast',
+ start: undefined
+ },
+ state: {
+ isDuringAjax: false,
+ isInvalidPage: false,
+ isDestroyed: false,
+ isDone: false, // For when it goes all the way through the archive.
+ isPaused: false,
+ currPage: 1
+ },
+ callback: undefined,
+ debug: false,
+ behavior: undefined,
+ binder: $(window), // used to cache the selector
+ nextSelector: "div.navigation a:first",
+ navSelector: "div.navigation",
+ contentSelector: null, // rename to pageFragment
+ extraScrollPx: 150,
+ itemSelector: "div.post",
+ animate: false,
+ pathParse: undefined,
+ dataType: 'html',
+ appendCallback: true,
+ bufferPx: 40,
+ errorCallback: function () { },
+ infid: 0, //Instance ID
+ pixelsFromNavToBottom: undefined,
+ path: undefined
});
```
Please sign in to comment.
Something went wrong with that request. Please try again.