You can save time and bytes when you map jQuery to $ so you don't write jQuery(this), you write $(this).

Comments

yannickoo’s picture

Status: Active » Needs review
StatusFileSize
new13.84 KB
yannickoo’s picture

This patch also removes some whitespaces and adds a newline at the end of the file.

joelpittet’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

This patch looks great. Even better if you use references to items instead of calling $(), to look things up in the DOM that are already found, separate issue though.