handlebars lekcja 1
This commit is contained in:
1 parent
e42104c4fb
commit
527e0a34bb
1265 files changed
+213278
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
/*
|
||||
* Copyright (c) 2014, Yahoo Inc. All rights reserved.
|
||||
* Copyrights licensed under the New BSD License.
|
||||
* See the accompanying LICENSE file for terms.
|
||||
*/
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ExpressHandlebars = void 0;
|
||||
exports.create = create;
|
||||
exports.engine = engine;
|
||||
const express_handlebars_1 = __importDefault(require("./express-handlebars"));
|
||||
exports.ExpressHandlebars = express_handlebars_1.default;
|
||||
function create(config = {}) {
|
||||
return new express_handlebars_1.default(config);
|
||||
}
|
||||
function engine(config = {}) {
|
||||
return create(config).engine;
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
||||
Reference in new issue
Block a user