input-masking icon indicating copy to clipboard operation
input-masking copied to clipboard

typeof opts.masked === string, is that ok?

Open dnsorlov opened this issue 8 years ago • 2 comments

Sorry if my question is stupid, but code expectedly throws error that 'string is not define' (cause 'string' should be string), what's going on?

dnsorlov avatar Jan 31 '17 02:01 dnsorlov

Use String (with a capital letter)

struchkov avatar Mar 15 '17 14:03 struchkov

opts.masked = typeof opts.masked === string May be 'string' must be in quotes? Now it's not.

Scarboroid avatar Sep 28 '17 05:09 Scarboroid