summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/runtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlebars/runtime.js')
-rw-r--r--lib/handlebars/runtime.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/handlebars/runtime.js b/lib/handlebars/runtime.js
index 6fa7f40..29ace86 100644
--- a/lib/handlebars/runtime.js
+++ b/lib/handlebars/runtime.js
@@ -103,7 +103,7 @@ Handlebars.Runtime.prototype = {
var data = idObj.data;
- var type = toString.call(data);
+ var type = Object.prototype.toString.call(data);
var functionType = (type === "[object Function]");
if(!functionType && params.length) {
@@ -196,7 +196,7 @@ Handlebars.Runtime.prototype = {
var context = this.wrapContext();
- if(toString.call(data) === "[object Function]") {
+ if(Object.prototype.toString.call(data) === "[object Function]") {
params = this.evaluateParams(mustache.params);
id = id.parts.join("/");