diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-09-15 14:21:27 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-09-15 14:21:27 +0200 |
commit | 6732957e42350b3aefa4b1c80371baea92950651 (patch) | |
tree | 1605473bf22c7e4ab90a6cc9bebf5cb807fa1d90 /lib/conrefs_loader.js | |
parent | 5f56098ae7fae80a4dd75a944c38201560b480c6 (diff) | |
parent | 1fd00068595dfced5a0f16ac05ae2553d09608bc (diff) | |
download | gitbook-6732957e42350b3aefa4b1c80371baea92950651.zip gitbook-6732957e42350b3aefa4b1c80371baea92950651.tar.gz gitbook-6732957e42350b3aefa4b1c80371baea92950651.tar.bz2 |
Merge pull request #930 from GitbookIO/jshint
Add config for jshint and fix lint errors
Diffstat (limited to 'lib/conrefs_loader.js')
-rw-r--r-- | lib/conrefs_loader.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/conrefs_loader.js b/lib/conrefs_loader.js index 72dce8a..a6c2049 100644 --- a/lib/conrefs_loader.js +++ b/lib/conrefs_loader.js @@ -1,4 +1,3 @@ -var Q = require("q"); var path = require("path"); var nunjucks = require("nunjucks"); @@ -29,7 +28,7 @@ var BookLoader = nunjucks.Loader.extend({ return { src: source.toString(), path: filepath - } + }; }); }) .nodeify(callback); |