Skip to content

Commit 641358a

Browse files
author
Nate Irwin
committed
Fix for reserved keyword "default"
1 parent f2df220 commit 641358a

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)