Skip to content

Commit

Permalink
全角空白とconsole.log消し。
Browse files Browse the repository at this point in the history
e9 committed Jul 4, 2014
1 parent e40c40c commit b4d5d84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/clock.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*時計を縦方向中央に表示する(奥出)*/
function setMiddle(){
 var img_width = $('.clocklocal').width();
console.log(img_width);
  $('.clock').css('margin-top',-1*img_width/2);
var img_width = $('.clocklocal').width();
// console.log(img_width);
$('.clock').css('margin-top',-1*img_width/2);
}
$(window).load(function(){
setMiddle();
@@ -93,7 +93,7 @@



console.log(remoteHourX1+","+remoteHourY1+",,"+remoteHourX2+","+remoteHourY2)
// console.log(remoteHourX1+","+remoteHourY1+",,"+remoteHourX2+","+remoteHourY2)

$(".sec").transition({rotate:parseInt(sec)*6+0.5+"deg"},80).transition({rotate:"-=0.5deg"},20);
$(".long").transition({rotate:min*6+(datetime.getSeconds()/60)*6+"deg"},0);

0 comments on commit b4d5d84

Please sign in to comment.