handlebars.runtime.js in handlebars-source-4.3.5 vs handlebars.runtime.js in handlebars-source-4.4.0

- old
+ new

@@ -1,9 +1,9 @@ /**! @license - handlebars v4.3.5 + handlebars v4.4.0 Copyright (C) 2011-2017 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 @@ -205,11 +205,11 @@ var _logger = __webpack_require__(19); var _logger2 = _interopRequireDefault(_logger); - var VERSION = '4.3.5'; + var VERSION = '4.4.0'; exports.VERSION = VERSION; var COMPILER_REVISION = 8; exports.COMPILER_REVISION = COMPILER_REVISION; var LAST_COMPATIBLE_COMPILER_REVISION = 7; @@ -618,11 +618,11 @@ /***/ }), /* 11 */ /***/ (function(module, exports, __webpack_require__) { - 'use strict'; + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; var _interopRequireDefault = __webpack_require__(2)['default']; exports.__esModule = true; @@ -680,10 +680,20 @@ for (var j = context.length; i < j; i++) { if (i in context) { execIteration(i, i, i === context.length - 1); } } + } else if (global.Symbol && context[global.Symbol.iterator]) { + var newContext = []; + var iterator = context[global.Symbol.iterator](); + for (var it = iterator.next(); !it.done; it = iterator.next()) { + newContext.push(it.value); + } + context = newContext; + for (var j = context.length; i < j; i++) { + execIteration(i, i, i === context.length - 1); + } } else { var priorKey = undefined; for (var key in context) { if (context.hasOwnProperty(key)) { @@ -710,9 +720,10 @@ return ret; }); }; module.exports = exports['default']; + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), /* 12 */ /***/ (function(module, exports, __webpack_require__) { \ No newline at end of file