JSCS: Stick colons to object property names

The `{url: param}"` seems like an odd comparitor
This commit is contained in:
Nick Schonning
2014-01-15 17:54:39 -05:00
parent caadb91412
commit 29dbc78884
2 changed files with 18 additions and 18 deletions

View File

@@ -1177,7 +1177,7 @@ $.extend($.validator, {
previous.originalMessage = this.settings.messages[element.name].remote;
this.settings.messages[element.name].remote = previous.message;
param = typeof param === "string" && {url:param} || param;
param = typeof param === "string" && {url: param} || param;
if ( previous.old === value ) {
return previous.valid;