From dbcebe1def5c355120c61b575390d1d9ac355f67 Mon Sep 17 00:00:00 2001 From: Jinwei Zhao Date: Sat, 19 Dec 2015 22:24:42 +0900 Subject: clear up --- Code/Blocks/countdown/js/countdown.min.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 Code/Blocks/countdown/js/countdown.min.js (limited to 'Code/Blocks/countdown/js/countdown.min.js') diff --git a/Code/Blocks/countdown/js/countdown.min.js b/Code/Blocks/countdown/js/countdown.min.js deleted file mode 100644 index 72a3164..0000000 --- a/Code/Blocks/countdown/js/countdown.min.js +++ /dev/null @@ -1,14 +0,0 @@ -/*!jQuery Professional Countdown*/ -/** - * Simple COuntdown with callback and Time Zone Support - * - * Version: 1.0.1 (16/11/2013) - * Requires: jQuery v1.7+ - * - * Where applicable: Copyright (c) 2013 Luca Grandi - * Under MIT: - * http://www.opensource.org/licenses/mit-license.php - * - * - */ -(function(b){function n(){var b=document.createElement("canvas");return!(!b.getContext||!b.getContext("2d"))}b.fn.countdown=function(d,p){function q(){currentDate=Math.floor(((new Date).getTime()-e.offset)/1E3);fc)alert("Starting date is greater than the current date"),b(this).append("Starting date is greater than the current date"); else{!0==e.timezone&&(e.offset=36E5*parseInt(e.offset)+6E4*(new Date).getTimezoneOffset());c=b(this);"undefined"!=typeof d.option&&"undefined"==typeof d.option.global&&(d.option.global={});a.option.day=b.extend(!0,{},a.option.global,a.option.day);a.option.hour=b.extend(!0,{},a.option.global,a.option.hour);a.option.minute=b.extend(!0,{},a.option.global,a.option.minute);a.option.second=b.extend(!0,{},a.option.global,a.option.second);"knob"==a.skin.toLowerCase()&&n?(a.skin=a.skin.toLowerCase(),c.append(''),a.option.day.eClass="."+a.option.day.eClass.split(" ").join("."),a.option.hour.eClass="."+a.option.hour.eClass.split(" ").join("."),a.option.minute.eClass="."+a.option.minute.eClass.split(" ").join("."), a.option.second.eClass="."+a.option.second.eClass.split(" ").join("."),a.option.day.max=Math.floor((f-m)/86400),c.find(a.option.day.eClass).knob(a.option.day),c.find(a.option.hour.eClass).knob(a.option.hour),c.find(a.option.minute.eClass).knob(a.option.minute),c.find(a.option.second.eClass).knob(a.option.second)):("knob"==a.skin.toLowerCase()||n?c.append(''):(a.skin=a.fallbackSkin,c.html('')),a.option.day.eClass="."+a.option.day.eClass.split(" ").join("."),a.option.hour.eClass="."+a.option.hour.eClass.split(" ").join("."),a.option.minute.eClass="."+a.option.minute.eClass.split(" ").join("."),a.option.second.eClass="."+a.option.second.eClass.split(" ").join("."));var g=c.find(a.option.day.eClass),h=c.find(a.option.hour.eClass),k= c.find(a.option.minute.eClass),l=c.find(a.option.second.eClass);q();if(f>(new Date).getTime()/1E3)var r=setInterval(function(){q()},1E3)}else alert("Invalid or null dateStart mm/dd/yyyy. Example: 12/25/2013 17:30:00"),b(this).append("Invalid or null dateStart mm/dd/yyyy. Example: 12/25/2013 17:30:00")}})(jQuery); \ No newline at end of file -- cgit v1.2.3