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 f955fc9 commit 82d5790
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/upy.cc
Expand Up @@ -142,17 +142,17 @@ namespace upy {

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

Handle<Value> Seconds(const Arguments &args) {
Expand All @@ -161,11 +161,11 @@ namespace upy {
int minutes = get_minutes();
int seconds = get_seconds();
int count = ((((((days * 24) + hours) * 60) + minutes) * 60) + seconds);
return Integer::New(count);
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);
}
}
2 changes: 1 addition & 1 deletion src/upy.h
Expand Up @@ -22,7 +22,7 @@ THE SOFTWARE.
*/

#ifndef UPY_VERSION
#define UPY_VERSION "v0.0.1"
#define UPY_VERSION "v2.0.3"

#include <v8.h>
#include <node.h>
Expand Down

0 comments on commit 82d5790

Please sign in to comment.