Closed BorisMoore closed 9 years ago
See the thread here: https://github.com/BorisMoore/jsrender/pull/236#issuecomment-122131961
The fix is to cache the template using $.data(elem, ...), provided jQuery is being used, rather than caching on the $.templates object. Then jQuery will release the cached template if elem is removed.
This has been fixed with commit 65.
See the thread here: https://github.com/BorisMoore/jsrender/pull/236#issuecomment-122131961
The fix is to cache the template using $.data(elem, ...), provided jQuery is being used, rather than caching on the $.templates object. Then jQuery will release the cached template if elem is removed.