regexp on string+
This commit is contained in:
parent
e84e99d516
commit
cac6b7edc2
|
@ -202,7 +202,7 @@ var is =
|
|||
{
|
||||
'string+': function(value)
|
||||
{
|
||||
return typeof(value) == 'string' && value.length && !(/\s+/.test(value));
|
||||
return typeof(value) == 'string' && value.length && !(/^\s+$/.test(value));
|
||||
},
|
||||
|
||||
'string': function(value)
|
||||
|
|
Reference in New Issue