biofriction-wp-theme/node_modules/handlebars/dist/amd/handlebars.js

53 lines
4.5 KiB
JavaScript

define(['exports', 'module', './handlebars.runtime', './handlebars/compiler/ast', './handlebars/compiler/base', './handlebars/compiler/compiler', './handlebars/compiler/javascript-compiler', './handlebars/compiler/visitor', './handlebars/no-conflict'], function (exports, module, _handlebarsRuntime, _handlebarsCompilerAst, _handlebarsCompilerBase, _handlebarsCompilerCompiler, _handlebarsCompilerJavascriptCompiler, _handlebarsCompilerVisitor, _handlebarsNoConflict) {
'use strict';
// istanbul ignore next
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _runtime = _interopRequireDefault(_handlebarsRuntime);
// Compiler imports
var _AST = _interopRequireDefault(_handlebarsCompilerAst);
var _JavaScriptCompiler = _interopRequireDefault(_handlebarsCompilerJavascriptCompiler);
var _Visitor = _interopRequireDefault(_handlebarsCompilerVisitor);
var _noConflict = _interopRequireDefault(_handlebarsNoConflict);
var _create = _runtime['default'].create;
function create() {
var hb = _create();
hb.compile = function (input, options) {
return _handlebarsCompilerCompiler.compile(input, options, hb);
};
hb.precompile = function (input, options) {
return _handlebarsCompilerCompiler.precompile(input, options, hb);
};
hb.AST = _AST['default'];
hb.Compiler = _handlebarsCompilerCompiler.Compiler;
hb.JavaScriptCompiler = _JavaScriptCompiler['default'];
hb.Parser = _handlebarsCompilerBase.parser;
hb.parse = _handlebarsCompilerBase.parse;
hb.parseWithoutProcessing = _handlebarsCompilerBase.parseWithoutProcessing;
return hb;
}
var inst = create();
inst.create = create;
_noConflict['default'](inst);
inst.Visitor = _Visitor['default'];
inst['default'] = inst;
module.exports = inst;
});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi9oYW5kbGViYXJzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFlQSxNQUFJLE9BQU8sR0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