File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ app.controller("ctrl", function(
17
17
if ( $localStorage . data ) $scope . rows = $localStorage . data ;
18
18
$scope . ol = function ( ) {
19
19
return Object . keys ( $scope . rows ) . length ;
20
- }
20
+ } ;
21
21
22
22
$scope . temp = false ;
23
23
@@ -70,17 +70,17 @@ app.controller("ctrl", function(
70
70
var minute = today . getMinutes ( ) ;
71
71
72
72
if ( dd < 10 ) {
73
- dd = '0' + dd
74
- }
73
+ dd = '0' + dd ;
74
+ }
75
75
76
76
if ( mm < 10 ) {
77
- mm = '0' + mm
78
- }
77
+ mm = '0' + mm ;
78
+ }
79
79
80
80
today = dd + '-' + mm + '-' + yyyy + ' ' + hour + ':' + minute ;
81
81
return today ;
82
82
83
- }
83
+ } ;
84
84
85
85
$scope . currencyFormat = function ( amount ) {
86
86
f = amount ;
@@ -93,12 +93,12 @@ app.controller("ctrl", function(
93
93
}
94
94
}
95
95
return f ;
96
- }
96
+ } ;
97
97
98
98
$scope . deleteData = function ( ) {
99
99
$scope . rows = [ ] ;
100
100
$localStorage . $reset ( ) ;
101
- }
101
+ } ;
102
102
103
103
$scope . isTemp = function ( i ) {
104
104
return i == $scope . rows . length - 1 && $scope . temp ;
You can’t perform that action at this time.
0 commit comments