tgriesser / checkit

simple, flexible validations for node and the browser
MIT License
223 stars 53 forks source link

Use any-promise to allow the user to decide promise implementation #67

Closed Whoaa512 closed 8 years ago

Whoaa512 commented 8 years ago

@rhys-vdw, this should address #53, & #28

NinjaBanjo commented 8 years ago

Instead of pulling in a library for this, at this point we should assume window.Promise exists and use it. expect anyone pulling this in to polyfill it before using the lib (it's a standard available in todays stable browses, no reason we should be handling it within the library anymore, it can be done outside if you NEED it)

pulling in a package for this just adds more un-needed code when you could just reference Promise directly.

Whoaa512 commented 8 years ago

Closed in favor of #69