raymondjavaxx / swearjar-node

Profanity detection and filtering library.
MIT License
73 stars 33 forks source link

handle the case where object has additional properties #4

Closed krzysztof-wiercioch closed 8 years ago

krzysztof-wiercioch commented 8 years ago

Hi,

We ran into an issue in our tests which use shouldjs. Since the object has additional property, the word 'should' was being marked as profane.

Thanks

raymondjavaxx commented 8 years ago

thanks!