debugger: rename `process.debug_port` to `process.debugPort`
authorMaciej Małecki <maciej.malecki@notimplemented.org>
Fri, 17 Feb 2012 18:35:05 +0000 (19:35 +0100)
committerFedor Indutny <fedor.indutny@gmail.com>
Fri, 17 Feb 2012 18:45:56 +0000 (00:45 +0600)
We should comply to to camelCase naming convention.

src/node.cc

index 25d8af0..9a2d8fa 100644 (file)
@@ -2115,7 +2115,7 @@ Handle<Object> SetupProcessObject(int argc, char *argv[]) {
   }
   delete [] execPath;
 
-  process->SetAccessor(String::New("debug_port"),
+  process->SetAccessor(String::New("debugPort"),
                        DebugPortGetter,
                        DebugPortSetter);