@textcomplete/core
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -265,4 +265,3 @@ "use strict"; | ||
li.appendChild(span); | ||
li.addEventListener("mousedown", this.onClick); | ||
li.addEventListener("touchstart", this.onClick); | ||
li.addEventListener("click", this.onClick); | ||
this.el = li; | ||
@@ -274,4 +273,3 @@ } | ||
(_a = li.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(li); | ||
li.removeEventListener("mousedown", this.onClick, false); | ||
li.removeEventListener("touchstart", this.onClick, false); | ||
li.removeEventListener("click", this.onClick, false); | ||
return this; | ||
@@ -278,0 +276,0 @@ } |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "@textcomplete/core", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Textcomplete core.", | ||
@@ -25,3 +25,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "1199fcac0b13aaece2e145d4f133a2ca07f8fa14" | ||
"gitHead": "16c6684fb5d577f13193e4ec0625c8e71b706b12" | ||
} |
@@ -319,4 +319,3 @@ import { EventEmitter } from "eventemitter3" | ||
li.addEventListener("mousedown", this.onClick) | ||
li.addEventListener("touchstart", this.onClick) | ||
li.addEventListener("click", this.onClick) | ||
@@ -329,4 +328,3 @@ this.el = li | ||
li.parentNode?.removeChild(li) | ||
li.removeEventListener("mousedown", this.onClick, false) | ||
li.removeEventListener("touchstart", this.onClick, false) | ||
li.removeEventListener("click", this.onClick, false) | ||
return this | ||
@@ -333,0 +331,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
85171