Browse Source

Add example hooks

Samy Pessé 10 years ago
parent
commit
ec74364ce9
1 changed files with 8 additions and 0 deletions
  1. 8 0
      index.js

+ 8 - 0
index.js

@@ -6,5 +6,13 @@ module.exports = {
         css: [
             "book/test.css"
         ]
+    },
+    hooks: {
+        init: function() {
+            console.log("init!");
+        },
+        finish: function() {
+            console.log("finish!");
+        }
     }
 };