Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

See #16

Fixes plugin function array accumulation.
  • Loading branch information...
commit 6c352b91536d9b6f3cf51a9aeef9ad6f5c6327a3 1 parent 8fcd40c
@wlaurance wlaurance authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/glog.js
View
3  lib/glog.js
@@ -89,6 +89,9 @@ Glog.prototype.load_configs = function(cb) {
*/
Glog.prototype.load_plugins = function(options, cb) {
var fn = this, i;
+ this.articlePrePlugins = [{}];
+ this.articlePostPlugins = [{}];
+
var GlogPlugin = {
registerPreArticleHook : function(hook) {
Please sign in to comment.
Something went wrong with that request. Please try again.