discord.js
Advanced tools
Comparing version 2.6.3 to 2.6.4
@@ -159,7 +159,7 @@ /** | ||
var results = []; | ||
value = change(value); | ||
value = change( value ); | ||
for ( index in this.contents ) { | ||
var child = this.contents[ index ]; | ||
if ( change(child[ key ]) == value ) { | ||
if ( change( child[ key ] ) == value ) { | ||
if ( onlyOne ) { | ||
@@ -173,4 +173,4 @@ return child; | ||
function change(val){ | ||
if(caseInsen){ | ||
function change( val ) { | ||
if ( caseInsen ) { | ||
val = val.toUpperCase(); | ||
@@ -185,3 +185,6 @@ } | ||
return results; | ||
var retList = new List( this.discriminator ); | ||
retList.contents = results; | ||
return retList; | ||
} | ||
@@ -192,3 +195,3 @@ | ||
var results = []; | ||
value = change(value); | ||
value = change( value ); | ||
@@ -203,3 +206,3 @@ for ( index in this.contents ) { | ||
if ( change(buffer) == value ) { | ||
if ( change( buffer ) == value ) { | ||
if ( onlyOne ) { | ||
@@ -213,4 +216,4 @@ return child; | ||
function change(val){ | ||
if(caseInsen){ | ||
function change( val ) { | ||
if ( caseInsen ) { | ||
val = val.toUpperCase(); | ||
@@ -224,4 +227,7 @@ } | ||
} | ||
var retList = new List( this.discriminator ); | ||
retList.contents = results; | ||
return results; | ||
return retList; | ||
} |
{ | ||
"name": "discord.js", | ||
"version": "2.6.3", | ||
"version": "2.6.4", | ||
"description": "A way to interface with the Discord API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2078
85311