diff options
author | Samy Pesse <samypesse@gmail.com> | 2015-09-14 11:28:14 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2015-09-14 11:28:14 +0200 |
commit | fa4e234bab15db4b0a8a0a13f041ef5869a2458b (patch) | |
tree | 243816b5b7a243915b44a590cb40e5ce4c731b21 /lib/template.js | |
parent | 35c4179ca12a0287279ced0535f11237cdf606ec (diff) | |
download | gitbook-fa4e234bab15db4b0a8a0a13f041ef5869a2458b.zip gitbook-fa4e234bab15db4b0a8a0a13f041ef5869a2458b.tar.gz gitbook-fa4e234bab15db4b0a8a0a13f041ef5869a2458b.tar.bz2 |
Add base test for extending code highlighting
Diffstat (limited to 'lib/template.js')
-rw-r--r-- | lib/template.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/template.js b/lib/template.js index b27be89..cc247c0 100644 --- a/lib/template.js +++ b/lib/template.js @@ -339,7 +339,6 @@ TemplateEngine.prototype.addBlock = function(name, block) { // Add multiple blocks TemplateEngine.prototype.addBlocks = function(blocks) { - console.log('add blocks', blocks); _.each(blocks, function(block, name) { this.addBlock(name, block); }, this); @@ -351,7 +350,6 @@ TemplateEngine.prototype.applyBlock = function(name, blk) { var func, block, func, r; block = this.blocks[name]; - console.log('applyBlock', name, block); if (!block) throw new Error('Block not found "'+name+'"'); if (_.isString(blk)) { blk = { |