Skip to content

Commit

Permalink
Version 2.0.1
Browse files Browse the repository at this point in the history
- Adding more test coverage.
- Modifying README.md
- Modifying doc/index.html
  • Loading branch information
Your Name committed Oct 29, 2017
1 parent 412225e commit a51bca5
Show file tree
Hide file tree
Showing 115 changed files with 175 additions and 170 deletions.
39 changes: 19 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ and help spread the word. If you've used the plugin, or plan to use, consider a
- Supports jQuery v1.5+
- Supports 27 [options](#options)
- Supports 5 [methods](#methods)
- Supports regional languages
- Supports more than 50 regional languages
- Supports different timezones
- Supports different sizes
- Supports Pause / Resume Timer
Expand All @@ -50,8 +50,8 @@ and help spread the word. If you've used the plugin, or plan to use, consider a
```text
dist/
├── js/
| ├── jQuery.countdownTimer.js
| ├── jQuery.countdownTimer.min.js (compressed)
| ├── jQuery.countdownTimer.js (37.16 kB)
| ├── jQuery.countdownTimer.min.js (compressed - 18.28 kB)
| ├── localisation/
| └── jQuery.countdownTimer-[region-code].js (regional language support js files)
├── css/
Expand Down Expand Up @@ -430,7 +430,7 @@ Following are the different code samples for using `countdowntimer` method.
```js
$(function(){
$("#cdt").countdowntimer({
dateAndTime : "2020/01/01 00:00:00"
dateAndTime : "2020/01/01 00:00:00"
labelsFormat : true,
displayFormat : "YODHMS",
padZeroes : false,
Expand All @@ -454,11 +454,11 @@ Following are the different code samples for using `countdowntimer` method.
```js
$(function(){
$("#cdt").countdowntimer({
hours : 3
hours : 3
minutes : 10
seconds : 10
seconds : 10
displayFormat : "HM",
size : "lg",
size : "lg",
timeSeparator : "/",
pauseButton : "pbtnId",
stopButton : "sbtnId"
Expand All @@ -471,9 +471,9 @@ Following are the different code samples for using `countdowntimer` method.
```js
$(function(){
$("#cdt").countdowntimer({
hours : 3
hours : 3
minutes : 10
size : "lg"
size : "lg"
});
function urfunc() {
if(yourcond === true) {
Expand All @@ -497,8 +497,8 @@ Following are the different code samples for using `countdowntimer` method.
$(function(){
$("#cdt").countdowntimer({
minutes : 20
seconds : 10
size : "lg"
seconds : 10
size : "lg"
});
});
```
Expand All @@ -509,8 +509,8 @@ Following are the different code samples for using `countdowntimer` method.
$(function(){
$("#cdt").countdowntimer({
hours : 2
seconds : 10
size : "lg"
seconds : 10
size : "lg"
});
});
```
Expand All @@ -521,7 +521,7 @@ Following are the different code samples for using `countdowntimer` method.
$(function(){
$("#cdt").countdowntimer({
hours : 2
size : "lg",
size : "lg",
tickInterval : 60
});
});
Expand All @@ -533,7 +533,7 @@ Following are the different code samples for using `countdowntimer` method.
$(function(){
$("#cdt").countdowntimer({
minutes : 2
size : "lg"
size : "lg"
});
});
```
Expand All @@ -544,7 +544,7 @@ Following are the different code samples for using `countdowntimer` method.
$(function(){
$("#cdt").countdowntimer({
seconds : 25
size : "lg"
size : "lg"
});
});
```
Expand All @@ -555,7 +555,7 @@ Following are the different code samples for using `countdowntimer` method.
$(function(){
$("#cdt").countdowntimer({
currentTime : true
size : "lg",
size : "lg",
borderColor : "#5D09FA",
backgroundColor : "#FAF209",
fontColor : "#FA0909",
Expand All @@ -571,7 +571,7 @@ Following are the different code samples for using `countdowntimer` method.
$("#cdt").countdowntimer({
startDate : "2017/10/10 12:00:00",
dateAndTime : "2020/10/10 12:00:00",
size : "lg"
size : "lg"
});
});
```
Expand All @@ -583,7 +583,7 @@ Following are the different code samples for using `countdowntimer` method.
$("#cdt").countdowntimer({
startDate : "<?php echo date('Y/m/d H:i:s'); ?>",
dateAndTime : "2020/10/10 12:00:00",
size : "lg",
size : "lg",
regexpMatchFormat : "([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})",
regexpReplaceWith : "$1<sup>years</sup> / $2<sup>months</sup> / $3<sup>days</sup> / $4<sup>hours</sup> / $5<sup>minutes</sup> / $6<sup>seconds</sup>"
});
Expand Down Expand Up @@ -634,4 +634,3 @@ Licensed under the [MIT](https://github.com/harshen/jQuery-countdownTimer/blob/m
and [GPLv3](https://github.com/harshen/jQuery-countdownTimer/blob/master/LICENSE-GPL.md) license.
[⬆ back to top](#table-of-contents)
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name":"countdowntimer",
"version":"2.0.0",
"version":"2.0.1",
"description":"Reverse count down jQuery plugin for displaying countdown as per need. Also displays current time.",
"keywords":[
"jquery",
Expand Down
2 changes: 1 addition & 1 deletion countdownTimer.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"localisation",
"jquery-plugin"
],
"version":"2.0.0",
"version":"2.0.1",
"author":{
"name":"Harshen Pandey",
"email":"[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions dist/css/jQuery.countdownTimer.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*! CountdownTimer for jQuery @version2.0.0 (https://harshen.github.io/jQuery-countdownTimer/).
/*! CountdownTimer for jQuery @version2.0.1 (https://harshen.github.io/jQuery-countdownTimer/).
* Written by Harshen Pandey (https://remote.com/harshen) January 2014.
* @license MIT (https://github.com/harshen/jQuery-countdownTimer/blob/master/LICENSE.md)
* and GPLv3 (https://github.com/harshen/jQuery-countdownTimer/blob/master/LICENSE-GPL.md).
* @release - 27/10/2017
* @release - 29/10/2017
* Copyright (c) 2017 - 2020 Harshen Pandey
* Please attribute the author if you use it.
*/
Expand Down
4 changes: 2 additions & 2 deletions dist/js/jQuery.countdownTimer.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*! CountdownTimer for jQuery @version2.0.0 (https://harshen.github.io/jQuery-countdownTimer/).
/*! CountdownTimer for jQuery @version2.0.1 (https://harshen.github.io/jQuery-countdownTimer/).
* Written by Harshen Pandey (https://remote.com/harshen) January 2014.
* @license MIT (https://github.com/harshen/jQuery-countdownTimer/blob/master/LICENSE.md)
* and GPLv3 (https://github.com/harshen/jQuery-countdownTimer/blob/master/LICENSE-GPL.md).
* @release - 27/10/2017
* @release - 29/10/2017
* Copyright (c) 2017 - 2020 Harshen Pandey
* Please attribute the author if you use it.
*/
Expand Down
4 changes: 2 additions & 2 deletions dist/js/jQuery.countdownTimer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-ar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Arabic localisation for jQuery CountdownTimer @version2.0.0
* Arabic localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-bg.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Bulgarian localisation for jQuery CountdownTimer @version2.0.0
* Bulgarian localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-bn.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Bengali/Bangla localisation for jQuery CountdownTimer @version2.0.0
* Bengali/Bangla localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-bs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Bosnian Latin localisation for jQuery CountdownTimer @version2.0.0
* Bosnian Latin localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-ca.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Catalan localisation for jQuery CountdownTimer @version2.0.0
* Catalan localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-cs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Czech localisation for jQuery CountdownTimer @version2.0.0
* Czech localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-cy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-da.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Danish localisation for jQuery CountdownTimer @version2.0.0
* Danish localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-de.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* German localisation for jQuery CountdownTimer @version2.0.0
* German localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-el.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Greek localisation for jQuery CountdownTimer @version2.0.0
* Greek localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Spanish localisation for jQuery CountdownTimer @version2.0.0
* Spanish localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-et.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Estonian localisation for jQuery CountdownTimer @version2.0.0
* Estonian localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-fa.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Persian (فارسی) localisation for jQuery CountdownTimer @version2.0.0
* Persian (فارسی) localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-fi.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Finnish localisation for jQuery CountdownTimer @version2.0.0
* Finnish localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-fo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Faroese localisation for jQuery CountdownTimer @version2.0.0
* Faroese localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-fr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* French localisation for jQuery CountdownTimer @version2.0.0
* French localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-gl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Galician localisation for jQuery CountdownTimer @version2.0.0
* Galician localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-gu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Gujarati localisation for jQuery CountdownTimer @version2.0.0
* Gujarati localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-he.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Hebrew localisation for jQuery CountdownTimer @version2.0.0
* Hebrew localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-hr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Croatian l10n localisation for jQuery CountdownTimer @version2.0.0
* Croatian l10n localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-hu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Hungarian localisation for jQuery CountdownTimer @version2.0.0
* Hungarian localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-id.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Indonesian localisation for jQuery CountdownTimer @version2.0.0
* Indonesian localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-is.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Icelandic localisation for jQuery CountdownTimer @version2.0.0
* Icelandic localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-it.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Italian localisation for jQuery CountdownTimer @version2.0.0
* Italian localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-ja.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Japanese localisation for jQuery CountdownTimer @version2.0.0
* Japanese localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-kn.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Kannada localisation for jQuery CountdownTimer @version2.0.0
* Kannada localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-ko.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Korean localisation for jQuery CountdownTimer @version2.0.0
* Korean localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-lt.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Lithuanian localisation for jQuery CountdownTimer @version2.0.0
* Lithuanian localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-lv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Latvian localisation for jQuery CountdownTimer @version2.0.0
* Latvian localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/localisation/jQuery.countdownTimer-mk.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* https://harshen.github.io/jQuery-countdownTimer/
* Macedonian localisation for jQuery CountdownTimer @version2.0.0
* Macedonian localisation for jQuery CountdownTimer @version2.0.1
*/

(function($) {
Expand Down
Loading

0 comments on commit a51bca5

Please sign in to comment.