Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes uncaught exception in memory plugin on IE6/7
The memory plugin uses document.getElementsByTagName in order to count the number of certain types of DOM elements. It uses (function).call() to do this. In IE6/7 the getElementsByTagName is not a typical function and does not have call(). This patch wraps the underlying function in an anonymous function when call() is missing. (cherry picked from commit 2eb2a6e) Signed-off-by: Philip Tellis <philip.tellis@gmail.com>
- Loading branch information