Loading pyproject.toml +1 −1 Original line number Diff line number Diff line [tool.poetry] name = "nova-trame" version = "0.14.1" version = "0.14.2" description = "A Python Package for injecting curated themes and custom components into Trame applications" authors = ["Duggan, John <dugganjw@ornl.gov>"] readme = "README.md" Loading src/nova/trame/view/theme/assets/js/delay_manager.js +4 −4 Original line number Diff line number Diff line Loading @@ -4,20 +4,20 @@ class DelayManager { this.throttles = {} } debounce(id, func, wait) { debounce(id, func, wait, ...args) { if (!(id in this.debounces)) { this.debounces[id] = window.debounce(func, wait) } this.debounces[id]() this.debounces[id](...args) } throttle(id, func, wait) { throttle(id, func, wait, ...args) { if (!(id in this.throttles)) { this.throttles[id] = window.throttle(func, wait) } this.throttles[id]() this.throttles[id](...args) } } Loading Loading
pyproject.toml +1 −1 Original line number Diff line number Diff line [tool.poetry] name = "nova-trame" version = "0.14.1" version = "0.14.2" description = "A Python Package for injecting curated themes and custom components into Trame applications" authors = ["Duggan, John <dugganjw@ornl.gov>"] readme = "README.md" Loading
src/nova/trame/view/theme/assets/js/delay_manager.js +4 −4 Original line number Diff line number Diff line Loading @@ -4,20 +4,20 @@ class DelayManager { this.throttles = {} } debounce(id, func, wait) { debounce(id, func, wait, ...args) { if (!(id in this.debounces)) { this.debounces[id] = window.debounce(func, wait) } this.debounces[id]() this.debounces[id](...args) } throttle(id, func, wait) { throttle(id, func, wait, ...args) { if (!(id in this.throttles)) { this.throttles[id] = window.throttle(func, wait) } this.throttles[id]() this.throttles[id](...args) } } Loading