| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fa12532 commit e8dbd09
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3289,7 +3289,7 @@ HTTP_STATUS_CODES(V) | |||
| 3289 | 3289 | env->SetMethod(target, "packSettings", PackSettings); | |
| 3290 | 3290 | ||
| 3291 | 3291 | target->Set(context, | |
| 3292 | - FIXED_ONE_BYTE_STRING(isolate, "constants"), | ||
| 3292 | + env->constants_string(), | ||
| 3293 | 3293 | constants).FromJust(); | |
| 3294 | 3294 | target->Set(context, | |
| 3295 | 3295 | FIXED_ONE_BYTE_STRING(isolate, "nameForErrorCode"), | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -117,7 +117,7 @@ void PipeWrap::Initialize(Local<Object> target, | |||
| 117 | 117 | NODE_DEFINE_CONSTANT(constants, SERVER); | |
| 118 | 118 | NODE_DEFINE_CONSTANT(constants, IPC); | |
| 119 | 119 | target->Set(context, | |
| 120 | - FIXED_ONE_BYTE_STRING(env->isolate(), "constants"), | ||
| 120 | + env->constants_string(), | ||
| 121 | 121 | constants).FromJust(); | |
| 122 | 122 | } | |
| 123 | 123 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -132,7 +132,7 @@ void TCPWrap::Initialize(Local<Object> target, | |||
| 132 | 132 | NODE_DEFINE_CONSTANT(constants, SOCKET); | |
| 133 | 133 | NODE_DEFINE_CONSTANT(constants, SERVER); | |
| 134 | 134 | target->Set(context, | |
| 135 | - FIXED_ONE_BYTE_STRING(env->isolate(), "constants"), | ||
| 135 | + env->constants_string(), | ||
| 136 | 136 | constants).FromJust(); | |
| 137 | 137 | } | |
| 138 | 138 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments