~sirn/fanboi2

ref: a68873a108d20a6a49a1b6caf374bfb2cf6a94fe fanboi2/assets/app/javascripts/models/base.ts -rw-r--r-- 783 bytes
Coding style cleanups and setup pre-commit hooks (#42)

Add component for inline reply.

Restore the ability to reply within the topic page without redirection.
The topic will also load new posts upon successful reply.
Pass custom error object to object.

Error.message now only accept string to make the behavior a little bit
more predictable. Any custom metadata objects should now be passed to
Error.object instead.
Handle error object in TypeScript model.

If the returned response is an `error` object, the model will now
throw `ResourceError`. The model also now assert types before attempt
to serialize the data.
Add base class and cleanup imports in TypeScripts.