Skip to content

Commit 7cd9cdb

Browse files
committed
Merge pull request handlebars-lang#513 from tommydudebreaux/master
Using handlebars with browserify causes IE to throw - TypeError: Invalid calling object
2 parents ef32573 + 090ee7c commit 7cd9cdb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/handlebars/utils.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
exports.attach = function(Handlebars) {
22

3+
var toString = Object.prototype.toString;
4+
35
// BEGIN(BROWSER)
46

57
var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];

0 commit comments

Comments
 (0)