Skip to content

Commit 76e22c4

Browse files
author
Conway Hyacienth
committed
pedantic
1 parent ba56585 commit 76e22c4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

js/main.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ app.controller("ctrl", function(
1717
if($localStorage.data) $scope.rows = $localStorage.data;
1818
$scope.ol = function(){
1919
return Object.keys($scope.rows).length;
20-
}
20+
};
2121

2222
$scope.temp = false;
2323

@@ -70,17 +70,17 @@ app.controller("ctrl", function(
7070
var minute = today.getMinutes();
7171

7272
if(dd<10) {
73-
dd='0'+dd
74-
}
73+
dd='0'+dd;
74+
}
7575

7676
if(mm<10) {
77-
mm='0'+mm
78-
}
77+
mm='0'+mm;
78+
}
7979

8080
today = dd+'-'+mm+'-'+yyyy+' '+hour+':'+minute;
8181
return today;
8282

83-
}
83+
};
8484

8585
$scope.currencyFormat = function(amount){
8686
f = amount;
@@ -93,12 +93,12 @@ app.controller("ctrl", function(
9393
}
9494
}
9595
return f;
96-
}
96+
};
9797

9898
$scope.deleteData = function(){
9999
$scope.rows = [];
100100
$localStorage.$reset();
101-
}
101+
};
102102

103103
$scope.isTemp = function(i){
104104
return i==$scope.rows.length-1 && $scope.temp;

0 commit comments

Comments
 (0)