summaryrefslogtreecommitdiffstats
path: root/lib/models
diff options
context:
space:
mode:
authorJohan Preynat <johan.preynat@gmail.com>2016-04-30 17:03:57 +0200
committerJohan Preynat <johan.preynat@gmail.com>2016-04-30 17:05:30 +0200
commit8b05885d57d3753193950a17331b4d32b23abe64 (patch)
tree06220207c178b75e46ef31dc0f7dc25a5392e528 /lib/models
parentd9d7ab4ee59fad5c20e33cbf6125420fee5efffd (diff)
downloadgitbook-8b05885d57d3753193950a17331b4d32b23abe64.zip
gitbook-8b05885d57d3753193950a17331b4d32b23abe64.tar.gz
gitbook-8b05885d57d3753193950a17331b4d32b23abe64.tar.bz2
lib/models/templateBlock.js: Use function for Ext() instead of var
Diffstat (limited to 'lib/models')
-rw-r--r--lib/models/templateBlock.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/templateBlock.js b/lib/models/templateBlock.js
index 92a0bf3..999898c 100644
--- a/lib/models/templateBlock.js
+++ b/lib/models/templateBlock.js
@@ -79,7 +79,7 @@ TemplateBlock.prototype.toNunjucksExt = function(mainContext) {
var endTag = this.getEndTag();
var blocks = this.getBlocks();
- var Ext = function () {
+ function Ext() {
this.tags = [name];
this.parse = function(parser, nodes) {