Skip to content

Instantly share code, notes, and snippets.

@doowb
Created April 29, 2014 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doowb/11401254 to your computer and use it in GitHub Desktop.
Save doowb/11401254 to your computer and use it in GitHub Desktop.
module.exports = function (assemble) {
var plugin = function (params, next) {
// do something
next();
};
plugin.options = {
event: 'page:before:render'
};
return {
'my-plugin-name': plugin
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment