We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23843ac commit 1aa710bCopy full SHA for 1aa710b
lib/utils.js
@@ -13,7 +13,8 @@ module.exports.buildDashDocSet = function (input) {
13
14
var zip = new admzip(),
15
tempdb = temp.openSync('temp.sqlite'),
16
- db = new sqlite3.Database(tempdb.path);
+ db = new sqlite3.Database(tempdb.path),
17
+ template = require('../templates/dash/method.hbs');
18
19
input.uid = module.exports.formatStringForUID(input.title);
20
@@ -23,7 +24,7 @@ module.exports.buildDashDocSet = function (input) {
23
24
25
zip.addFile(
26
input.title + '.docset/Contents/Resources/Documents/' + method.uid + '.html',
- require('../templates/dash/method.hbs')(method)
27
+ template(method)
28
);
29
30
});
0 commit comments