Changes between Initial Version and Version 4 of Ticket #5404
- Timestamp:
- Jul 29, 2010, 5:49:33 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5404 – Description
initial v4 2 2 is used in many plugins but not recommended best practice because if self isn't defined in a scope it will reference window.self 3 3 4 http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/# comment-2204 http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/#dsq-comment-43493993 5 5 6 6 It should be removed from all plugins and replaced by something like 'that' or '_this'.