Skip to content

Commit

Permalink
Remove unnecessary unary operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Berkeley Martinez authored and Berkeley Martinez committed Nov 10, 2015
1 parent 7d43dda commit 42ab1d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/views/account/show.jade
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ block content
var offsetCalendar = {};
for (var prop in calendar) {
if (calendar.hasOwnProperty(prop)) {
var offsetProp = +prop + secondsToOffset;
offsetCalendar[offsetProp] =
calendar[prop];
var offsetProp = prop + secondsToOffset;
offsetCalendar[offsetProp] = calendar[prop];
}
}
cal.init({
Expand Down

0 comments on commit 42ab1d7

Please sign in to comment.