Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatched info in configuration section #13

Open
codeclinic opened this issue Apr 2, 2014 · 0 comments
Open

Mismatched info in configuration section #13

codeclinic opened this issue Apr 2, 2014 · 0 comments

Comments

@codeclinic
Copy link

The config section of the readme states that the refresh attribute be set to true or false. However, the example code uses the option 'daily'.

Configuration

The Listomatic plugin will set some default settings that can be overwritten, such as number of records to return per call (perPage), label text for the "Show More" button (btnLabel) and an option to refresh content (refreshContent), if set to 'false' the page will not refresh, if set to 'true' the page will refresh at midnight.

$.extend($.mobile.listomatic.prototype.options, {perPage: 2,
btnLabel: 'Show Me More',
refreshContent: 'daily',
noResultsFound: 'No Results Found'
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant