소스 검색

minor cleanup

Falko Schindler 2 년 전
부모
커밋
4499d4644a
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      nicegui/templates/index.html

+ 0 - 1
nicegui/templates/index.html

@@ -54,7 +54,6 @@
         Object.values(element.events).forEach((event) => {
           let event_name = 'on' + event.type[0].toLocaleUpperCase() + event.type.substring(1);
           event.specials.forEach(s => event_name += s[0].toLocaleUpperCase() + s.substring(1));
-          const throttler = {active: false};
           let handler = (e) => {
             const all = typeof e !== 'object' || event.args.includes('*');
             const args = all ? e : Object.fromEntries(event.args.map(a => [a, e[a]]));