Skip to content

Commit

Permalink
Merge pull request handlebars-lang#513 from tommydudebreaux/master
Browse files Browse the repository at this point in the history
Using handlebars with browserify causes IE to throw - TypeError: Invalid calling object
  • Loading branch information
kpdecker committed May 10, 2013
2 parents ef32573 + 090ee7c commit 7cd9cdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/handlebars/utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
exports.attach = function(Handlebars) {

var toString = Object.prototype.toString;

// BEGIN(BROWSER)

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

0 comments on commit 7cd9cdb

Please sign in to comment.