Skip to content

Commit

Permalink
fixing tabs/spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
frozzare committed May 21, 2012
1 parent 82d5790 commit 1f6e7ae
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/upy.cc
Expand Up @@ -141,31 +141,31 @@ namespace upy {
}

Handle<Value> Hours(const Arguments &args) {
int days = get_days();
int hours = get_hours();
int count = (days * 24) + hours;
return Integer::New(count);
int days = get_days();
int hours = get_hours();
int count = (days * 24) + hours;
return Integer::New(count);
}

Handle<Value> Minutes(const Arguments &args) {
int days = get_days();
int hours = get_hours();
int minutes = get_minutes();
int count = (((days * 24) + hours) * 60) + minutes;
return Integer::New(count);
int days = get_days();
int hours = get_hours();
int minutes = get_minutes();
int count = (((days * 24) + hours) * 60) + minutes;
return Integer::New(count);
}

Handle<Value> Seconds(const Arguments &args) {
int days = get_days();
int hours = get_hours();
int minutes = get_minutes();
int seconds = get_seconds();
int count = ((((((days * 24) + hours) * 60) + minutes) * 60) + seconds);
return Integer::New(count);
int days = get_days();
int hours = get_hours();
int minutes = get_minutes();
int seconds = get_seconds();
int count = ((((((days * 24) + hours) * 60) + minutes) * 60) + seconds);
return Integer::New(count);
}

Handle<Value> Timestamp(const Arguments &args) {
get_uptime();
return Integer::New(_time);
Handle<Value> Timestamp(const Arguments &args) {
get_uptime();
return Integer::New(_time);
}
}

0 comments on commit 1f6e7ae

Please sign in to comment.