Skip to content

Commit

Permalink
Rev runtime compiler revision
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker committed Sep 1, 2015
1 parent c13c7df commit b0d217e
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ import {registerDefaultDecorators} from './decorators';
import logger from './logger';

export const VERSION = '3.0.1';
export const COMPILER_REVISION = 6;
export const COMPILER_REVISION = 7;

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

const objectType = '[object Object]';
Expand Down
2 changes: 1 addition & 1 deletion spec/expected/empty.amd.js
Original file line number Diff line number Diff line change
@@ -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":[6,">= 2.0.0-beta.1"],"main":function(container,depth0,helpers,partials,data) {
return templates['empty'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "";
},"useData":true});
});

0 comments on commit b0d217e

Please sign in to comment.