1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

Remove snack_case and always use camelCase

This commit is contained in:
Ruben Bridgewater
2016-12-18 01:46:58 +01:00
committed by Ruben Bridgewater
parent a86c998a64
commit 28afc33c9a
43 changed files with 1048 additions and 1163 deletions

View File

@@ -2,12 +2,12 @@
var betterStackTraces = /development/i.test(process.env.NODE_ENV) || /\bredis\b/i.test(process.env.NODE_DEBUG);
function Command (command, args, callback, call_on_write) {
function Command (command, args, callback, callOnWrite) {
this.command = command;
this.args = args;
this.buffer_args = false;
this.bufferArgs = false;
this.callback = callback;
this.call_on_write = call_on_write;
this.callOnWrite = callOnWrite;
if (betterStackTraces) {
this.error = new Error();
}