commit | d6f2115e5f8f36aa44fa0832768690bcf09d9643 | [log] [tgz] |
---|---|---|
author | timothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Mon Apr 18 17:28:36 2016 +0000 |
committer | timothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Mon Apr 18 17:28:36 2016 +0000 |
tree | 1fdfe8e4949f4d73b2f515e7766338cb53d7ae44 | |
parent | 4d03e0ec905bb5b78fad9a8f91c49c128cbf7bff [diff] |
Web Inspector: Fix the debounce function https://bugs.webkit.org/show_bug.cgi?id=156696 rdar://problem/25778133 Reviewed by Brian Burg. * UserInterface/Base/Utilities.js: (Function.prototype.debounce): Store the timeout on the original function instead of the bound function. Also simplify the implementation with arrow functions and eliminate the bind altogether. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@199676 268f45cc-cd09-0410-ab3c-d52691b4dbfc