Project

General

Profile

Actions

Refactor #8721

closed

Replace all uses of jQuery(item).attr('id') with item.id

Added by Tomer Brisker over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

No need to use jQuery when we don't have to.
Using plain item.id is about 100X faster:
http://jsperf.com/jquery-item-attr-id-vs-item-id

Actions

Also available in: Atom PDF