Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | var ComingSoon = function () { |
| 2 | |||
| 3 | return { |
||
| 4 | //main function to initiate the module |
||
| 5 | init: function () { |
||
| 6 | var austDay = new Date(); |
||
| 7 | austDay = new Date(austDay.getFullYear() + 1, 1 - 1, 26); |
||
| 8 | $('#defaultCountdown').countdown({until: austDay}); |
||
| 9 | $('#year').text(austDay.getFullYear()); |
||
| 10 | } |
||
| 11 | |||
| 12 | }; |
||
| 13 | |||
| 14 | }(); |