From b15bf9a0303d91d20ac41e30d612a2ad24adecec Mon Sep 17 00:00:00 2001 From: Shahar Talmi Date: Sun, 8 Jun 2014 21:33:54 +0300 Subject: [PATCH] example for caitp --- src/apis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis.js b/src/apis.js index a6df5811c87d..d59ed3b721f5 100644 --- a/src/apis.js +++ b/src/apis.js @@ -17,7 +17,7 @@ function hashKey(obj) { var objType = typeof obj, key; - if (objType == 'object' && obj !== null) { + if (objType == 'function' || (objType == 'object' && obj !== null)) { if (typeof (key = obj.$$hashKey) == 'function') { // must invoke on object to keep the right this key = obj.$$hashKey();