Skip to content

Commit

Permalink
See #16
Browse files Browse the repository at this point in the history
Fixes plugin function array accumulation.
  • Loading branch information
wlaurance committed Jul 9, 2012
1 parent 8fcd40c commit 6c352b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/glog.js
Expand Up @@ -89,6 +89,9 @@ Glog.prototype.load_configs = function(cb) {
*/ */
Glog.prototype.load_plugins = function(options, cb) { Glog.prototype.load_plugins = function(options, cb) {
var fn = this, i; var fn = this, i;
this.articlePrePlugins = [{}];
this.articlePostPlugins = [{}];



var GlogPlugin = { var GlogPlugin = {
registerPreArticleHook : function(hook) { registerPreArticleHook : function(hook) {
Expand Down

0 comments on commit 6c352b9

Please sign in to comment.