| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ var git = require( '../../' ).raw; | |||
| 11 | 11 | repo.open( '/home/tim/git/nodegit/.git', function() { | |
| 12 | 12 | var commit = new git.Commit( repo ); | |
| 13 | 13 | ||
| 14 | - //console.log( 'Time taken: ' + (+new Date-start) + 'ms' ); | ||
| 14 | + console.log( 'Time taken: ' + (+new Date-start) + 'ms' ); | ||
| 15 | 15 | }); | |
| 16 | 16 | ||
| 17 | 17 | })(); | |
@@ -34,8 +34,8 @@ var git = require( '../../' ).raw; | |||
| 34 | 34 | ||
| 35 | 35 | var commit = new git.Commit( repo ); | |
| 36 | 36 | commit.lookup( oid, function( err ) { | |
| 37 | - //console.log( 'Time taken: ' + (+new Date-start) + 'ms' ); | ||
| 38 | - } ); | ||
| 37 | + console.log( 'Time taken: ' + (+new Date-start) + 'ms' ); | ||
| 38 | + }); | ||
| 39 | 39 | }); | |
| 40 | 40 | ||
| 41 | 41 | })(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,8 +20,6 @@ Copyright (c) 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com> | |||
| 20 | 20 | #include "tree.h" | |
| 21 | 21 | #include "tree_entry.h" | |
| 22 | 22 | ||
| 23 | - namespace { | ||
| 24 | - | ||
| 25 | 23 | extern "C" void init(Handle<v8::Object> target) { | |
| 26 | 24 | HandleScope scope; | |
| 27 | 25 | ||
@@ -37,5 +35,3 @@ extern "C" void init(Handle<v8::Object> target) { | |||
| 37 | 35 | GitTree::Initialize(target); | |
| 38 | 36 | GitTreeEntry::Initialize(target); | |
| 39 | 37 | } | |
| 40 | - | ||
| 41 | - } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments