X Tutup
Skip to content

Commit 5e52d62

Browse files
committed
Update to v4.1.2
1 parent 5fbed54 commit 5e52d62

11 files changed

+54
-30
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "handlebars",
3-
"version": "4.1.1",
3+
"version": "4.1.2",
44
"main": "handlebars.js",
55
"license": "MIT",
66
"dependencies": {}

handlebars.amd.js

Lines changed: 11 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

handlebars.amd.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

handlebars.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**!
22
33
@license
4-
handlebars v4.1.1
4+
handlebars v4.1.2
55
66
Copyright (C) 2011-2017 by Yehuda Katz
77
@@ -275,7 +275,7 @@ return /******/ (function(modules) { // webpackBootstrap
275275

276276
var _logger2 = _interopRequireDefault(_logger);
277277

278-
var VERSION = '4.1.1';
278+
var VERSION = '4.1.2';
279279
exports.VERSION = VERSION;
280280
var COMPILER_REVISION = 7;
281281

@@ -868,7 +868,13 @@ return /******/ (function(modules) { // webpackBootstrap
868868

869869
exports['default'] = function (instance) {
870870
instance.registerHelper('lookup', function (obj, field) {
871-
return obj && obj[field];
871+
if (!obj) {
872+
return obj;
873+
}
874+
if (field === 'constructor' && !obj.propertyIsEnumerable(field)) {
875+
return undefined;
876+
}
877+
return obj[field];
872878
});
873879
};
874880

handlebars.js.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>handlebars.js</id>
5-
<version>4.1.1</version>
5+
<version>4.1.2</version>
66
<authors>handlebars.js Authors</authors>
77
<licenseUrl>https://github.com/wycats/handlebars.js/blob/master/LICENSE</licenseUrl>
88
<projectUrl>https://github.com/wycats/handlebars.js/</projectUrl>

handlebars.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
X Tutup