Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 550965f

Browse files
committed
style(jqLite): remove MiskoCode(tm)
1 parent 443b521 commit 550965f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/jqLite.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,9 @@ function jqLiteRemoveData(element, name) {
308308
}
309309

310310
if (expandoStore.handle) {
311-
expandoStore.events.$destroy && expandoStore.handle({}, '$destroy');
311+
if (expandoStore.events.$destroy) {
312+
expandoStore.handle({}, '$destroy');
313+
}
312314
jqLiteOff(element);
313315
}
314316
delete jqCache[expandoId];

0 commit comments

Comments
 (0)