aboutsummaryrefslogtreecommitdiff
path: root/node_modules/handlebars/dist/handlebars.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-24 15:10:37 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-24 15:11:17 +0200
commit7a3df06eb573d36142bd1a8e03c5ce8752d300b3 (patch)
tree70bfaea8884c374876f607774850a3a51c0cb381 /node_modules/handlebars/dist/handlebars.js
parentaca1143cb9eed16cf37f04e475e4257418dd18ac (diff)
fix build issues and add typedoc
Diffstat (limited to 'node_modules/handlebars/dist/handlebars.js')
-rw-r--r--node_modules/handlebars/dist/handlebars.js449
1 files changed, 288 insertions, 161 deletions
diff --git a/node_modules/handlebars/dist/handlebars.js b/node_modules/handlebars/dist/handlebars.js
index 5bcea873a..5b5661510 100644
--- a/node_modules/handlebars/dist/handlebars.js
+++ b/node_modules/handlebars/dist/handlebars.js
@@ -1,59 +1,7 @@
/**!
@license
- handlebars v4.0.6
-
-Copyright (C) 2011-2016 by Yehuda Katz
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-*/
-/**!
-
- @license
- handlebars v4.0.6
-
-Copyright (C) 2011-2016 by Yehuda Katz
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-*/
-/**!
-
- @license
- handlebars v4.0.6
+ handlebars v4.0.10
Copyright (C) 2011-2016 by Yehuda Katz
@@ -130,7 +78,7 @@ return /******/ (function(modules) { // webpackBootstrap
/************************************************************************/
/******/ ([
/* 0 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -144,23 +92,23 @@ return /******/ (function(modules) { // webpackBootstrap
// Compiler imports
- var _handlebarsCompilerAst = __webpack_require__(24);
+ var _handlebarsCompilerAst = __webpack_require__(35);
var _handlebarsCompilerAst2 = _interopRequireDefault(_handlebarsCompilerAst);
- var _handlebarsCompilerBase = __webpack_require__(25);
+ var _handlebarsCompilerBase = __webpack_require__(36);
- var _handlebarsCompilerCompiler = __webpack_require__(30);
+ var _handlebarsCompilerCompiler = __webpack_require__(41);
- var _handlebarsCompilerJavascriptCompiler = __webpack_require__(31);
+ var _handlebarsCompilerJavascriptCompiler = __webpack_require__(42);
var _handlebarsCompilerJavascriptCompiler2 = _interopRequireDefault(_handlebarsCompilerJavascriptCompiler);
- var _handlebarsCompilerVisitor = __webpack_require__(28);
+ var _handlebarsCompilerVisitor = __webpack_require__(39);
var _handlebarsCompilerVisitor2 = _interopRequireDefault(_handlebarsCompilerVisitor);
- var _handlebarsNoConflict = __webpack_require__(23);
+ var _handlebarsNoConflict = __webpack_require__(34);
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
@@ -196,9 +144,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = inst;
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 1 */
-/***/ function(module, exports) {
+/***/ (function(module, exports) {
"use strict";
@@ -210,9 +158,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports.__esModule = true;
-/***/ },
+/***/ }),
/* 2 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -245,7 +193,7 @@ return /******/ (function(modules) { // webpackBootstrap
var runtime = _interopRequireWildcard(_handlebarsRuntime);
- var _handlebarsNoConflict = __webpack_require__(23);
+ var _handlebarsNoConflict = __webpack_require__(34);
var _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);
@@ -277,9 +225,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = inst;
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 3 */
-/***/ function(module, exports) {
+/***/ (function(module, exports) {
"use strict";
@@ -302,9 +250,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports.__esModule = true;
-/***/ },
+/***/ }),
/* 4 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -327,7 +275,7 @@ return /******/ (function(modules) { // webpackBootstrap
var _logger2 = _interopRequireDefault(_logger);
- var VERSION = '4.0.5';
+ var VERSION = '4.0.10';
exports.VERSION = VERSION;
var COMPILER_REVISION = 7;
@@ -409,9 +357,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports.createFrame = _utils.createFrame;
exports.logger = _logger2['default'];
-/***/ },
+/***/ }),
/* 5 */
-/***/ function(module, exports) {
+/***/ (function(module, exports) {
'use strict';
@@ -537,9 +485,9 @@ return /******/ (function(modules) { // webpackBootstrap
return (contextPath ? contextPath + '.' : '') + id;
}
-/***/ },
+/***/ }),
/* 6 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -579,7 +527,10 @@ return /******/ (function(modules) { // webpackBootstrap
// Work around issue under safari where we can't directly set the column value
/* istanbul ignore next */
if (_Object$defineProperty) {
- Object.defineProperty(this, 'column', { value: column });
+ Object.defineProperty(this, 'column', {
+ value: column,
+ enumerable: true
+ });
} else {
this.column = column;
}
@@ -594,24 +545,24 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = Exception;
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 7 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
module.exports = { "default": __webpack_require__(8), __esModule: true };
-/***/ },
+/***/ }),
/* 8 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
var $ = __webpack_require__(9);
module.exports = function defineProperty(it, key, desc){
return $.setDesc(it, key, desc);
};
-/***/ },
+/***/ }),
/* 9 */
-/***/ function(module, exports) {
+/***/ (function(module, exports) {
var $Object = Object;
module.exports = {
@@ -627,9 +578,9 @@ return /******/ (function(modules) { // webpackBootstrap
each: [].forEach
};
-/***/ },
+/***/ }),
/* 10 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -676,9 +627,9 @@ return /******/ (function(modules) { // webpackBootstrap
_helpersWith2['default'](instance);
}
-/***/ },
+/***/ }),
/* 11 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -719,9 +670,9 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 12 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -816,9 +767,9 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 13 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -844,9 +795,9 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 14 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -877,9 +828,9 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 15 */
-/***/ function(module, exports) {
+/***/ (function(module, exports) {
'use strict';
@@ -907,9 +858,9 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 16 */
-/***/ function(module, exports) {
+/***/ (function(module, exports) {
'use strict';
@@ -923,9 +874,9 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 17 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -960,9 +911,9 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 18 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -979,9 +930,9 @@ return /******/ (function(modules) { // webpackBootstrap
_decoratorsInline2['default'](instance);
}
-/***/ },
+/***/ }),
/* 19 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -1012,9 +963,9 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 20 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -1063,9 +1014,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = logger;
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 21 */
-/***/ function(module, exports) {
+/***/ (function(module, exports) {
// Build out our basic SafeString type
'use strict';
@@ -1082,12 +1033,14 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = SafeString;
module.exports = exports['default'];
-/***/ },
+/***/ }),
/* 22 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
+ var _Object$seal = __webpack_require__(23)['default'];
+
var _interopRequireWildcard = __webpack_require__(3)['default'];
var _interopRequireDefault = __webpack_require__(1)['default'];
@@ -1230,6 +1183,8 @@ return /******/ (function(modules) { // webpackBootstrap
return obj;
},
+ // An empty object to use as replacement for null-contexts
+ nullContext: _Object$seal({}),
noop: env.VM.noop,
compilerInfo: templateSpec.compiler
@@ -1297,7 +1252,7 @@ return /******/ (function(modules) { // webpackBootstrap
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var currentDepths = depths;
- if (depths && context != depths[0]) {
+ if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {
currentDepths = [context].concat(depths);
}
@@ -1315,12 +1270,7 @@ return /******/ (function(modules) { // webpackBootstrap
function resolvePartial(partial, context, options) {
if (!partial) {
if (options.name === '@partial-block') {
- var data = options.data;
- while (data['partial-block'] === noop) {
- data = data._parent;
- }
- partial = data['partial-block'];
- data['partial-block'] = noop;
+ partial = options.data['partial-block'];
} else {
partial = options.partials[options.name];
}
@@ -1333,6 +1283,8 @@ return /******/ (function(modules) { // webpackBootstrap
}
function invokePartial(partial, context, options) {
+ // Use the current closure context to save the partial-block if this partial
+ var currentPartialBlock = options.data && options.data['partial-block'];
options.partial = true;
if (options.ids) {
options.data.contextPath = options.ids[0] || options.data.contextPath;
@@ -1340,12 +1292,23 @@ return /******/ (function(modules) { // webpackBootstrap
var partialBlock = undefined;
if (options.fn && options.fn !== noop) {
- options.data = _base.createFrame(options.data);
- partialBlock = options.data['partial-block'] = options.fn;
-
- if (partialBlock.partials) {
- options.partials = Utils.extend({}, options.partials, partialBlock.partials);
- }
+ (function () {
+ options.data = _base.createFrame(options.data);
+ // Wrapper function to get access to currentPartialBlock from the closure
+ var fn = options.fn;
+ partialBlock = options.data['partial-block'] = function partialBlockWrapper(context) {
+ var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
+
+ // Restore the partial-block from the closure for the execution of the block
+ // i.e. the part inside the block of the partial call.
+ options.data = _base.createFrame(options.data);
+ options.data['partial-block'] = currentPartialBlock;
+ return fn(context, options);
+ };
+ if (fn.partials) {
+ options.partials = Utils.extend({}, options.partials, fn.partials);
+ }
+ })();
}
if (partial === undefined && partialBlock) {
@@ -1380,9 +1343,171 @@ return /******/ (function(modules) { // webpackBootstrap
return prog;
}
-/***/ },
+/***/ }),
/* 23 */
-/***/ function(module, exports) {
+/***/ (function(module, exports, __webpack_require__) {
+
+ module.exports = { "default": __webpack_require__(24), __esModule: true };
+
+/***/ }),
+/* 24 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ __webpack_require__(25);
+ module.exports = __webpack_require__(30).Object.seal;
+
+/***/ }),
+/* 25 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ // 19.1.2.17 Object.seal(O)
+ var isObject = __webpack_require__(26);
+
+ __webpack_require__(27)('seal', function($seal){
+ return function seal(it){
+ return $seal && isObject(it) ? $seal(it) : it;
+ };
+ });
+
+/***/ }),
+/* 26 */
+/***/ (function(module, exports) {
+
+ module.exports = function(it){
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
+ };
+
+/***/ }),
+/* 27 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ // most Object methods by ES6 should accept primitives
+ var $export = __webpack_require__(28)
+ , core = __webpack_require__(30)
+ , fails = __webpack_require__(33);
+ module.exports = function(KEY, exec){
+ var fn = (core.Object || {})[KEY] || Object[KEY]
+ , exp = {};
+ exp[KEY] = exec(fn);
+ $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
+ };
+
+/***/ }),
+/* 28 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ var global = __webpack_require__(29)
+ , core = __webpack_require__(30)
+ , ctx = __webpack_require__(31)
+ , PROTOTYPE = 'prototype';
+
+ var $export = function(type, name, source){
+ var IS_FORCED = type & $export.F
+ , IS_GLOBAL = type & $export.G
+ , IS_STATIC = type & $export.S
+ , IS_PROTO = type & $export.P
+ , IS_BIND = type & $export.B
+ , IS_WRAP = type & $export.W
+ , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
+ , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
+ , key, own, out;
+ if(IS_GLOBAL)source = name;
+ for(key in source){
+ // contains in native
+ own = !IS_FORCED && target && key in target;
+ if(own && key in exports)continue;
+ // export native or passed
+ out = own ? target[key] : source[key];
+ // prevent global pollution for namespaces
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
+ // bind timers to global for call from export context
+ : IS_BIND && own ? ctx(out, global)
+ // wrap global constructors for prevent change them in library
+ : IS_WRAP && target[key] == out ? (function(C){
+ var F = function(param){
+ return this instanceof C ? new C(param) : C(param);
+ };
+ F[PROTOTYPE] = C[PROTOTYPE];
+ return F;
+ // make static versions for prototype methods
+ })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
+ if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
+ }
+ };
+ // type bitmap
+ $export.F = 1; // forced
+ $export.G = 2; // global
+ $export.S = 4; // static
+ $export.P = 8; // proto
+ $export.B = 16; // bind
+ $export.W = 32; // wrap
+ module.exports = $export;
+
+/***/ }),
+/* 29 */
+/***/ (function(module, exports) {
+
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
+ ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
+ if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
+
+/***/ }),
+/* 30 */
+/***/ (function(module, exports) {
+
+ var core = module.exports = {version: '1.2.6'};
+ if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
+
+/***/ }),
+/* 31 */
+/***/ (function(module, exports, __webpack_require__) {
+
+ // optional / simple context binding
+ var aFunction = __webpack_require__(32);
+ module.exports = function(fn, that, length){
+ aFunction(fn);
+ if(that === undefined)return fn;
+ switch(length){
+ case 1: return function(a){
+ return fn.call(that, a);
+ };
+ case 2: return function(a, b){
+ return fn.call(that, a, b);
+ };
+ case 3: return function(a, b, c){
+ return fn.call(that, a, b, c);
+ };
+ }
+ return function(/* ...args */){
+ return fn.apply(that, arguments);
+ };
+ };
+
+/***/ }),
+/* 32 */
+/***/ (function(module, exports) {
+
+ module.exports = function(it){
+ if(typeof it != 'function')throw TypeError(it + ' is not a function!');
+ return it;
+ };
+
+/***/ }),
+/* 33 */
+/***/ (function(module, exports) {
+
+ module.exports = function(exec){
+ try {
+ return !!exec();
+ } catch(e){
+ return true;
+ }
+ };
+
+/***/ }),
+/* 34 */
+/***/ (function(module, exports) {
/* WEBPACK VAR INJECTION */(function(global) {/* global window */
'use strict';
@@ -1405,9 +1530,9 @@ return /******/ (function(modules) { // webpackBootstrap
module.exports = exports['default'];
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
-/***/ },
-/* 24 */
-/***/ function(module, exports) {
+/***/ }),
+/* 35 */
+/***/ (function(module, exports) {
'use strict';
@@ -1440,9 +1565,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = AST;
module.exports = exports['default'];
-/***/ },
-/* 25 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ }),
+/* 36 */
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -1453,15 +1578,15 @@ return /******/ (function(modules) { // webpackBootstrap
exports.__esModule = true;
exports.parse = parse;
- var _parser = __webpack_require__(26);
+ var _parser = __webpack_require__(37);
var _parser2 = _interopRequireDefault(_parser);
- var _whitespaceControl = __webpack_require__(27);
+ var _whitespaceControl = __webpack_require__(38);
var _whitespaceControl2 = _interopRequireDefault(_whitespaceControl);
- var _helpers = __webpack_require__(29);
+ var _helpers = __webpack_require__(40);
var Helpers = _interopRequireWildcard(_helpers);
@@ -1489,14 +1614,15 @@ return /******/ (function(modules) { // webpackBootstrap
return strip.accept(_parser2['default'].parse(input));
}
-/***/ },
-/* 26 */
-/***/ function(module, exports) {
+/***/ }),
+/* 37 */
+/***/ (function(module, exports) {
- /* istanbul ignore next */
+ // File ignored in coverage tests via setting in .istanbul.yml
/* Jison generated parser */
"use strict";
+ exports.__esModule = true;
var handlebars = (function () {
var parser = { trace: function trace() {},
yy: {},
@@ -2228,12 +2354,12 @@ return /******/ (function(modules) { // webpackBootstrap
this.yy = {};
}Parser.prototype = parser;parser.Parser = Parser;
return new Parser();
- })();exports.__esModule = true;
- exports['default'] = handlebars;
+ })();exports["default"] = handlebars;
+ module.exports = exports["default"];
-/***/ },
-/* 27 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ }),
+/* 38 */
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -2241,7 +2367,7 @@ return /******/ (function(modules) { // webpackBootstrap
exports.__esModule = true;
- var _visitor = __webpack_require__(28);
+ var _visitor = __webpack_require__(39);
var _visitor2 = _interopRequireDefault(_visitor);
@@ -2455,9 +2581,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = WhitespaceControl;
module.exports = exports['default'];
-/***/ },
-/* 28 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ }),
+/* 39 */
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -2598,9 +2724,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = Visitor;
module.exports = exports['default'];
-/***/ },
-/* 29 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ }),
+/* 40 */
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -2831,9 +2957,9 @@ return /******/ (function(modules) { // webpackBootstrap
};
}
-/***/ },
-/* 30 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ }),
+/* 41 */
+/***/ (function(module, exports, __webpack_require__) {
/* eslint-disable new-cap */
@@ -2852,7 +2978,7 @@ return /******/ (function(modules) { // webpackBootstrap
var _utils = __webpack_require__(5);
- var _ast = __webpack_require__(24);
+ var _ast = __webpack_require__(35);
var _ast2 = _interopRequireDefault(_ast);
@@ -2922,7 +3048,7 @@ return /******/ (function(modules) { // webpackBootstrap
for (var _name in knownHelpers) {
/* istanbul ignore else */
if (_name in knownHelpers) {
- options.knownHelpers[_name] = knownHelpers[_name];
+ this.options.knownHelpers[_name] = knownHelpers[_name];
}
}
}
@@ -3337,6 +3463,7 @@ return /******/ (function(modules) { // webpackBootstrap
throw new _exception2['default']('You must pass a string or Handlebars AST to Handlebars.compile. You passed ' + input);
}
+ options = _utils.extend({}, options);
if (!('data' in options)) {
options.data = true;
}
@@ -3406,9 +3533,9 @@ return /******/ (function(modules) { // webpackBootstrap
}
}
-/***/ },
-/* 31 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ }),
+/* 42 */
+/***/ (function(module, exports, __webpack_require__) {
'use strict';
@@ -3424,7 +3551,7 @@ return /******/ (function(modules) { // webpackBootstrap
var _utils = __webpack_require__(5);
- var _codeGen = __webpack_require__(32);
+ var _codeGen = __webpack_require__(43);
var _codeGen2 = _interopRequireDefault(_codeGen);
@@ -4405,7 +4532,7 @@ return /******/ (function(modules) { // webpackBootstrap
var params = [],
paramsInit = this.setupHelperArgs(name, paramSize, params, blockHelper);
var foundHelper = this.nameLookup('helpers', name, 'helper'),
- callContext = this.aliasable(this.contextName(0) + ' != null ? ' + this.contextName(0) + ' : {}');
+ callContext = this.aliasable(this.contextName(0) + ' != null ? ' + this.contextName(0) + ' : (container.nullContext || {})');
return {
params: params,
@@ -4537,9 +4664,9 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = JavaScriptCompiler;
module.exports = exports['default'];
-/***/ },
-/* 32 */
-/***/ function(module, exports, __webpack_require__) {
+/***/ }),
+/* 43 */
+/***/ (function(module, exports, __webpack_require__) {
/* global define */
'use strict';
@@ -4707,7 +4834,7 @@ return /******/ (function(modules) { // webpackBootstrap
exports['default'] = CodeGen;
module.exports = exports['default'];
-/***/ }
+/***/ })
/******/ ])
});
; \ No newline at end of file