Kanso package for a duality comments system
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
duality/contrib/comments
templates/duality-contrib-comments
README.md
kanso.json

README.md

Be sure to add a call to validate the app-comments:comment type in your app's validate_doc_update function!

...
var types = require('kanso/types'),
    comment_types = require('app-comments/types');


function (newDoc, oldDoc, userCtx) {
    ...
    types.validate_doc_update(comment_types, newDoc, oldDoc, userCtx);
}