jquery-countdown-rails 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1af9272d99a6940caa3c0dbea6c7013dae7046d
|
|
4
|
+
data.tar.gz: e926c9337c8053bfc3395e85ab3e8b30e72aa479
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2aa79675dbb620f68404be3021d6a710e94883f4596113982dd21a38d34676508705a2fc14568ab254f37c678ee603216dc0053c82bc0ba61fc7f95d97176ef6
|
|
7
|
+
data.tar.gz: 03e6b3b470d1a1d3a5ea030f71f09969a580abd2ebbdf68777d768d552cc9e8d5e1469e2eebe1da81dd7ab50997b9d240f97ae0cac16f350500204ce6d668a7d
|
|
@@ -388,34 +388,6 @@ $.extend(Countdown.prototype, {
|
|
|
388
388
|
this._hold(target, null);
|
|
389
389
|
},
|
|
390
390
|
|
|
391
|
-
/* Toggles a countdown widget between 'pause' and 'resume'.
|
|
392
|
-
@param target (element) the containing division */
|
|
393
|
-
_togglePlugin: function(target) {
|
|
394
|
-
var inst = $.data(target, this.propertyName);
|
|
395
|
-
if (inst) {
|
|
396
|
-
if (inst._hold == 'pause') {
|
|
397
|
-
this._resumePlugin(target);
|
|
398
|
-
}
|
|
399
|
-
else {
|
|
400
|
-
this._pausePlugin(target);
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
|
|
405
|
-
/* Toggles a countdown widget between 'lap' and 'resume'.
|
|
406
|
-
@param target (element) the containing division */
|
|
407
|
-
_lapTogglePlugin: function(target) {
|
|
408
|
-
var inst = $.data(target, this.propertyName);
|
|
409
|
-
if (inst) {
|
|
410
|
-
if (inst._hold == 'lap') {
|
|
411
|
-
this._resumePlugin(target);
|
|
412
|
-
}
|
|
413
|
-
else {
|
|
414
|
-
this._lapPlugin(target);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
},
|
|
418
|
-
|
|
419
391
|
/* Pause or resume a countdown widget.
|
|
420
392
|
@param target (element) the containing division
|
|
421
393
|
@param hold (string) the new hold setting */
|