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

chore: remove support for UPPER_CASE commands

This commit is contained in:
Ruben Bridgewater
2017-05-06 01:46:29 +02:00
parent f92bc18c16
commit 19f3d20b47
41 changed files with 136 additions and 137 deletions

View File

@@ -15,7 +15,7 @@ commands.list.forEach(function (command) {
// Do not override existing functions
if (!RedisClient.prototype[command]) {
RedisClient.prototype[command.toUpperCase()] = RedisClient.prototype[command] = function () {
RedisClient.prototype[command] = function () {
var arr;
var len = arguments.length;
var callback;
@@ -57,7 +57,7 @@ commands.list.forEach(function (command) {
// Do not override existing functions
if (!Multi.prototype[command]) {
Multi.prototype[command.toUpperCase()] = Multi.prototype[command] = function () {
Multi.prototype[command] = function () {
var arr;
var len = arguments.length;
var callback;