diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-18 10:54:08 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-18 10:54:08 +0000 |
| commit | a35da9f9ccc1124d9b6f4461c7216ffbb0285e2f (patch) | |
| tree | d5b4b8548caae36a20e1258a8341dab4b3d522d2 /node_modules/express-handlebars/index.js | |
| parent | 16bbc66ebafc6f1a55e47dbda3f3c0f658fe715c (diff) | |
| parent | c1ce89359a7b54ec97b54ce577e5534c180c5c4b (diff) | |
merged
Diffstat (limited to 'node_modules/express-handlebars/index.js')
| -rw-r--r-- | node_modules/express-handlebars/index.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/node_modules/express-handlebars/index.js b/node_modules/express-handlebars/index.js new file mode 100644 index 0000000..b1f6dd5 --- /dev/null +++ b/node_modules/express-handlebars/index.js @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2014, Yahoo Inc. All rights reserved. + * Copyrights licensed under the New BSD License. + * See the accompanying LICENSE file for terms. + */ + +'use strict'; + +var ExpressHandlebars = require('./lib/express-handlebars'); + +exports = module.exports = exphbs; +exports.create = create; +exports.ExpressHandlebars = ExpressHandlebars; + +// ----------------------------------------------------------------------------- + +function exphbs(config) { + return create(config).engine; +} + +function create(config) { + return new ExpressHandlebars(config); +} |
