Add require('constants')
This commit is contained in:
parent
6680c7fbf7
commit
31f8fa222e
1
lib/constants.js
Normal file
1
lib/constants.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = process.binding("constants");
|
@ -1484,6 +1484,7 @@ static Handle<Value> Binding(const Arguments& args) {
|
||||
exports->Set(String::New("assert"), String::New(native_assert));
|
||||
exports->Set(String::New("buffer"), String::New(native_buffer));
|
||||
exports->Set(String::New("child_process"),String::New(native_child_process));
|
||||
exports->Set(String::New("constants"), String::New(native_constants));
|
||||
exports->Set(String::New("dgram"), String::New(native_dgram));
|
||||
exports->Set(String::New("dns"), String::New(native_dns));
|
||||
exports->Set(String::New("events"), String::New(native_events));
|
||||
|
Loading…
x
Reference in New Issue
Block a user