aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-05 21:59:36 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-05 21:59:36 +0800
commitc0cf47138ec2efe4c0a27de9a503bb0d74d99d5f (patch)
tree0787790484a41f8187b856d866336c957c6aa44f /packages/0x.js
parente1127dc2e850490e78a6a14366a7421ffc3a9fc9 (diff)
downloaddexon-sol-tools-c0cf47138ec2efe4c0a27de9a503bb0d74d99d5f.tar
dexon-sol-tools-c0cf47138ec2efe4c0a27de9a503bb0d74d99d5f.tar.gz
dexon-sol-tools-c0cf47138ec2efe4c0a27de9a503bb0d74d99d5f.tar.bz2
dexon-sol-tools-c0cf47138ec2efe4c0a27de9a503bb0d74d99d5f.tar.lz
dexon-sol-tools-c0cf47138ec2efe4c0a27de9a503bb0d74d99d5f.tar.xz
dexon-sol-tools-c0cf47138ec2efe4c0a27de9a503bb0d74d99d5f.tar.zst
dexon-sol-tools-c0cf47138ec2efe4c0a27de9a503bb0d74d99d5f.zip
Add a comment
Diffstat (limited to 'packages/0x.js')
-rw-r--r--packages/0x.js/src/utils/class_utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/0x.js/src/utils/class_utils.ts b/packages/0x.js/src/utils/class_utils.ts
index de7e99cd9..b89d3ba32 100644
--- a/packages/0x.js/src/utils/class_utils.ts
+++ b/packages/0x.js/src/utils/class_utils.ts
@@ -1,6 +1,7 @@
import * as _ from 'lodash';
export const classUtils = {
+ // This is usefull for classes that have nested methods. Nested methods don't get binded out of the box.
bindAll(self: any, exclude: string[] = ['contructor'], thisArg?: any): void {
for (const key of Object.getOwnPropertyNames(self)) {
const val = self[key];