Skip to content

Commit c6a345b

Browse files
committed
feature:init 2019
1 parent 68a613c commit c6a345b

File tree

12 files changed

+319
-299
lines changed

12 files changed

+319
-299
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ before_install:
1111
- cp .travis/ssh_config ~/.ssh/config
1212
- git config --global user.name "JSDC Taiwan"
1313
- git config --global user.email [email protected]
14-
- git clone -b gh-pages [email protected]:jsdc-core/jsdc2018.git dist
14+
- git clone -b gh-pages [email protected]:jsdc-core/jsdc2019.git dist
1515
install:
1616
- yarn install
1717
script:

CNAME

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2018.jsdc.tw
1+
2019.jsdc.tw

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) JSDC 2018
3+
Copyright (c) JSDC 2019
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# jsdc2018
1+
# jsdc2019
22

33
### Build Status
44
[![Build Status](https://travis-ci.org/jsdc-core/jsdc2018.svg?branch=develop)](https://travis-ci.org/jsdc-core/jsdc2018)

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "jsdc2018",
2+
"name": "jsdc2019",
33
"version": "1.0.0",
4-
"description": "JSDC Taiwan 2018 Main Website",
4+
"description": "JSDC Taiwan 2019 Main Website",
55
"main": "index.js",
66
"scripts": {
77
"start": "./node_modules/gulp/bin/gulp.js",
@@ -16,11 +16,11 @@
1616
},
1717
"repository": {
1818
"type": "git",
19-
"url": "git+https://github.com/jsdc-core/jsdc2018.git"
19+
"url": "git+https://github.com/jsdc-core/jsdc2019.git"
2020
},
2121
"keywords": [
2222
"jsdc",
23-
"jsdc2018",
23+
"jsdc2019",
2424
"js",
2525
"nodejs",
2626
"javascript"

source/js/main.js

+11-11
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
}
66
var countdown = setInterval(function(){
77
var specifyDay = null;
8-
var nightTicketEndDay = new Date('2018/11/17 09:00:00').getTime();
9-
var confStartDay = new Date('2018/11/17 09:00:00').getTime();
10-
var confEndtDay = new Date('2018/11/18 17:00:00').getTime();
8+
var nightTicketEndDay = new Date('2019/10/26 09:00:00').getTime();
9+
var confStartDay = new Date('2019/10/26 09:00:00').getTime();
10+
var confEndtDay = new Date('2019/10/26 17:00:00').getTime();
1111
// var countdownTitle = document.getElementsByClassName('content')[0];
1212
var ticketButtonText = document.getElementsByClassName('ticket-booking')[0];
1313

@@ -47,15 +47,15 @@
4747
var minutes = Math.floor((diff / util.minutes) % 60);
4848
var seconds = Math.floor((diff / util.seconds) % 60);
4949

50-
var str = toTwo(day) + toTwo(hours) + toTwo(minutes) + toTwo(seconds);
51-
$('.time-content .num').each(function(i, ele){
52-
$(ele).html('<img width=100% src="images/number/'+str.charAt(i)+'.png">');
53-
});
50+
// var str = toTwo(day) + toTwo(hours) + toTwo(minutes) + toTwo(seconds);
51+
// $('.time-content .num').each(function(i, ele){
52+
// $(ele).html('<img width=100% src="images/number/'+str.charAt(i)+'.png">');
53+
// });
5454

55-
// $('.date').text(day.toString().length === 1?'0'+ day:day);
56-
// $('.hours').text(hours.toString().length === 1?'0'+ hours:hours);
57-
// $('.minutes').text(minutes.toString().length === 1?'0'+ minutes:minutes);
58-
// $('.seconds').text(seconds.toString().length === 1?'0'+ seconds:seconds);
55+
$('.date').text(day.toString().length === 1?'0'+ day:day);
56+
$('.hours').text(hours.toString().length === 1?'0'+ hours:hours);
57+
$('.minutes').text(minutes.toString().length === 1?'0'+ minutes:minutes);
58+
$('.seconds').text(seconds.toString().length === 1?'0'+ seconds:seconds);
5959
}, 1000);
6060

6161
})(jQuery);

0 commit comments

Comments
 (0)