Improved form errors

Places some server-sent form errors inline and colors the form input borders to show their validity.
No.

I'm assuming es5. We haven't tried for compatibility below that in the
past. I'd prefer not to if we don't have to. And if we do, it would be
better to get along with es5-shim if possible. No?
On Jul 7, 2014 2:53 AM, "Aron Carroll" <notifications@github.com> wrote:

> In h/js/controllers.coffee:
>
> >        promise = session["$#{form.$name}"] ->
> >          $scope.$emit 'success', form.$name
> > -      promise.then(_reset, _error)
> > +
> > +      promise.then(_reset, _error.bind(null, form.$name))
>
> Do we have a patched version of bind loaded in somewhere? This should
> really use jQuery.proxy or similar for older browsers.
>
>
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind#Browser_compatibility
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/hypothesis/h/pull/1279/files#r14588416>.
>