From 9797f2ec073fae167807d27839c7d3dbad4bded9 Mon Sep 17 00:00:00 2001 From: nqounet Date: Thu, 23 Oct 2014 11:07:41 +0900 Subject: [PATCH] fixed error caused by used with ExtJS --- src/core.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core.js b/src/core.js index 0adeb3a..aa586a1 100644 --- a/src/core.js +++ b/src/core.js @@ -10,6 +10,7 @@ function Chart(config) { // bind "this" to nested API (function bindThis(fn, target, argThis) { for (var key in fn) { + if (key === '$extIsFunction') { continue; } target[key] = fn[key].bind(argThis); if (Object.keys(fn[key]).length > 0) { bindThis(fn[key], target[key], argThis);