paginate-dates
A CanJS component that lets you paginate by date ranges instead of record counts.
Usage
ES6 use
With StealJS, you can import this module directly in a template that is autorendered:
;
CommonJS use
Use require
to load paginate-dates
and everything else
needed to create a template that uses paginate-dates
:
var plugin = ;
AMD use
Configure the can
and jquery
paths and the paginate-dates
package:
Standalone use
Load the global
version of the plugin:
Contributing
Making a Build
To make a build of the distributables into dist/
in the cloned repository run
npm install
node build
Running the tests
Tests can run in the browser by opening a webserver and visiting the test.html
page.
Automated tests that run the tests from the command line in Firefox can be run with
npm test