diff --git a/packages/0x.js/src/utils/class_utils.ts b/packages/0x.js/src/utils/class_utils.ts index de7e99cd96..b89d3ba32b 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];