Skip to content

Commit

Permalink
adjust compiler revision
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Sep 24, 2019
1 parent 2078c72 commit 06b7224
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/handlebars/base.js
Expand Up @@ -5,7 +5,7 @@ import {registerDefaultDecorators} from './decorators';
import logger from './logger';

export const VERSION = '4.2.1';
export const COMPILER_REVISION = 7;
export const COMPILER_REVISION = 8;

export const REVISION_CHANGES = {
1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it
Expand All @@ -14,7 +14,8 @@ export const REVISION_CHANGES = {
4: '== 1.x.x',
5: '== 2.0.0-alpha.x',
6: '>= 2.0.0-beta.1',
7: '>= 4.0.0'
7: '>= 4.0.0 <4.3.0',
8: '>= 4.3.0'
};

const objectType = '[object Object]';
Expand Down
2 changes: 1 addition & 1 deletion spec/expected/empty.amd.js
@@ -1,6 +1,6 @@
define(['handlebars.runtime'], function(Handlebars) {
Handlebars = Handlebars["default"]; var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
return templates['empty'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return templates['empty'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
return "";
},"useData":true});
});

0 comments on commit 06b7224

Please sign in to comment.