handlebars.runtime.js in handlebars-source-4.0.1 vs handlebars.runtime.js in handlebars-source-4.0.2

- old
+ new

@@ -1,8 +1,8 @@ /*! - handlebars v4.0.1 + handlebars v4.0.2 Copyright (C) 2011-2015 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 @@ -167,11 +167,11 @@ var _logger = __webpack_require__(11); var _logger2 = _interopRequireDefault(_logger); - var VERSION = '4.0.1'; + var VERSION = '4.0.2'; exports.VERSION = VERSION; var COMPILER_REVISION = 7; exports.COMPILER_REVISION = COMPILER_REVISION; var REVISION_CHANGES = { @@ -627,10 +627,10 @@ container.helpers = container.merge(options.helpers, env.helpers); if (templateSpec.usePartial) { container.partials = container.merge(options.partials, env.partials); } - if (templateSpec.useDecorators) { + if (templateSpec.usePartial || templateSpec.useDecorators) { container.decorators = container.merge(options.decorators, env.decorators); } } else { container.helpers = options.helpers; container.partials = options.partials; \ No newline at end of file