Added doc.destroy() to replace collection.destroyDoc. Added more cleanup code
Added prevalidate
0.7.0alpha4
Fixed version in lib/index
Added after submit hook
Add missing parentheses
Combine 'submit' and 'pre validate' event into a single 'submit' event with access to snapshot
Fix action issue. Pass along snapshot in 'after submit' middleware
Pass collection and docName to 'after submit' useragent trigger
Updated version
0.7.0alpha5
Merge branch 'rewrite' of https://github.com/share/ShareJS into rewrite
Removed unused livedb reference in useragent
Pass opData, not ops to 'after submit' middleware
Make filterDoc and filterOps async
howMany is never assigned for 'move' event in client/query
Make sure to iterate to next() when type isnt 'insert'
Fix typo - wrapStream -> wrapOpStream
Make triggering asynchronous
Reverted some changes in useragent to mirror a newly syncronoous validate / prevalidate