app/js/patchwork/core/Patch.js
/**
         * Remove necessary listeners from module.
         * @param module
         */
Remove necessary listeners from module.
@param module
Remove necessary listeners from module . @param module
removeEventListenersFromSubPatch(subPatch) {
            subPatch.removeEventListener(PatchEvent_1.default.MODULE_ADDED, this.subPatchEventHandler);
            subPatch.removeEventListener(PatchEvent_1.default.MODULE_REMOVED, this.subPatchEventHandler);
            subPatch.removeEventListener(PatchEvent_1.default.CONNECTION_ADDED, this.subPatchEventHandler);
            subPatch.removeEventListener(PatchEvent_1.default.CONNECTION_PRE_REMOVE, this.subPatchEventHandler);
            subPatch.removeEventListener(PatchEvent_1.default.CONNECTION_POST_REMOVE, this.subPatchEventHandler);
            subPatch.removeEventListener(PatchEvent_1.default.PATCH_CLEARED, this.subPatchEventHandler);
            subPatch.removeEventListener(PatchEvent_1.default.MODULE_ATTRIBUTE_CHANGED, this.subPatchEventHandler);
        }
removeEventListenersFromSubPatch ( subPatch ) { subPatch . removeEventListener ( PatchEvent_1 . default . MODULE_ADDED , this . subPatchEventHandler ) ; subPatch . removeEventListener ( PatchEvent_1 . default . MODULE_REMOVED , this . subPatchEventHandler ) ; subPatch . removeEventListener ( PatchEvent_1 . default . CONNECTION_ADDED , this . subPatchEventHandler ) ; subPatch . removeEventListener ( PatchEvent_1 . default . CONNECTION_PRE_REMOVE , this . subPatchEventHandler ) ; subPatch . removeEventListener ( PatchEvent_1 . default . CONNECTION_POST_REMOVE , this . subPatchEventHandler ) ; subPatch . removeEventListener ( PatchEvent_1 . default . PATCH_CLEARED , this . subPatchEventHandler ) ; subPatch . removeEventListener ( PatchEvent_1 . default . MODULE_ATTRIBUTE_CHANGED , this . subPatchEventHandler ) ; }
Remove necessary listeners from module.
Remove necessary listeners from module .