ecto / bleach

:no_entry_sign: minimalistic HTML sanitizer for node.js
119 stars 21 forks source link

Make the filter method have an async option. #8

Closed jay-depot closed 10 years ago

jay-depot commented 10 years ago

This fixes issue #6 For backwards compatibility, the new filter method falls back on filterSync if no callback is provided. Existing tests pass, proving the sync fallback works. The async option needs code coverage in the tests.

ecto commented 10 years ago

Very cool, thanks :)