Skip to content

Commit 3f71fde

Browse files
committed
Merge pull request #696 from nateirwin/master
Fix for reserved keyword "default"
2 parents 6e4e1f8 + 641358a commit 3f71fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
// var local = handlebars.create();
55

6-
var handlebars = require('../dist/cjs/handlebars').default;
6+
var handlebars = require('../dist/cjs/handlebars')["default"];
77

8-
handlebars.Visitor = require('../dist/cjs/handlebars/compiler/visitor').default;
8+
handlebars.Visitor = require('../dist/cjs/handlebars/compiler/visitor')["default"];
99

1010
var printer = require('../dist/cjs/handlebars/compiler/printer');
1111
handlebars.PrintVisitor = printer.PrintVisitor;

0 commit comments

Comments
 (0)