react / wstein / node_modules / jest-cli / node_modules / istanbul / node_modules / handlebars / dist / amd / handlebars.runtime.js
80711 viewsdefine(1["./handlebars/base","./handlebars/safe-string","./handlebars/exception","./handlebars/utils","./handlebars/runtime","exports"],2function(__dependency1__, __dependency2__, __dependency3__, __dependency4__, __dependency5__, __exports__) {3"use strict";4/*globals Handlebars: true */5var base = __dependency1__;67// Each of these augment the Handlebars object. No need to setup here.8// (This is done to easily share code between commonjs and browse envs)9var SafeString = __dependency2__["default"];10var Exception = __dependency3__["default"];11var Utils = __dependency4__;12var runtime = __dependency5__;1314// For compatibility and usage outside of module systems, make the Handlebars object a namespace15var create = function() {16var hb = new base.HandlebarsEnvironment();1718Utils.extend(hb, base);19hb.SafeString = SafeString;20hb.Exception = Exception;21hb.Utils = Utils;22hb.escapeExpression = Utils.escapeExpression;2324hb.VM = runtime;25hb.template = function(spec) {26return runtime.template(spec, hb);27};2829return hb;30};3132var Handlebars = create();33Handlebars.create = create;3435/*jshint -W040 */36/* istanbul ignore next */37var root = typeof global !== 'undefined' ? global : window,38$Handlebars = root.Handlebars;39/* istanbul ignore next */40Handlebars.noConflict = function() {41if (root.Handlebars === Handlebars) {42root.Handlebars = $Handlebars;43}44};4546Handlebars['default'] = Handlebars;4748__exports__["default"] = Handlebars;49});5051