mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 04:40:39 -07:00
@@ -94,9 +94,9 @@ var _engine = {
|
||||
});
|
||||
});
|
||||
},
|
||||
express: function() {
|
||||
express: function(renderingOptions) {
|
||||
return (filePath, options, callback) => {
|
||||
this.renderFile(filePath, options)
|
||||
this.renderFile(filePath, options, renderingOptions)
|
||||
.then(html => callback(null, html))
|
||||
.catch(e => callback(e));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user