Skip to content

suluke/jquery-date-range-picker

 
 

Repository files navigation

jQuery Date Range Picker Plugin#

v1.0.0

jQuery Date Range Picker is a jQuery plugin that allows user to select a date range.

Requires jQuery and Moment. Based on jquery.date-range-picker written by Chunlong ( jszen.com )

Features

  • Runs everywhere: Supports IE8+, Firefox, Chrome, Safari and other standard HTML5 browsers. Powered by Babel
  • Fully international: Built-in support for many languages - or just add your own!
  • Styleable: Fully CSS styled, using SASS for development
  • Customizable: Just change the settings in Brocfile.js or lib/config.js to create a customized build.
  • Easily hackable: Code divided into modules, with quality ensured by JSHint and JSCS
  • Ready for the future: Source code written in ECMA Script 2015

Build instructions

To get started with development, you should first install all dependendencies:

npm install

This project is built using Broccoli. Install it globally using sudo npm install -g broccoli-cli After that, you can build sass, javascript and also a minified version by running

broccoli build dist

The compiled scripts can be found in the newly created dist directory.

To make development more convenient, this repository also includes a Gruntfile to automate tasks using Grunt. As you did with Broccoli, you should install the global grunt command using

sudo npm install -g grunt-cli

The following tasks are currently available:

  • grunt watch: A watcher task that automatically rebuilds javascript and sass when you save your changes
  • grunt jscs: Runs a codestyle checker to maintain code quality
  • grunt jshint: Runs a linter on the project to detect general problems with the code
  • grunt broccoli:dist:build: Builds the project in release mode (also known as production)
  • grunt broccoli:dev:build: Builds the project in development mode

Demo

For a demo page, just open demo/index.html in your browser

Similar projects

There is also this question on stackoverflow, although it was closed as 'not constructive'.

License

This date range picker plugin is under MIT LICENSE

About

A jQuery plugin that allows user to select a date range

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.5%
  • HTML 20.0%
  • CSS 12.5%