Bug Tracker

Modify

Ticket #4300 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

Add document as a local var as well

Reported by: flesler Owned by: flesler
Priority: minor Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc: john
Blocking: Blocked by:

Description

It appears several times and it's a global var, so munging it will speed up each access and make its name shorter.

TODO: Make sure all browsers have window.document.

Change History

comment:1 Changed 5 years ago by flesler

  • Cc john added
  • Status changed from new to assigned

comment:2 Changed 4 years ago by dmethvin

  • Status changed from assigned to closed
  • Resolution set to fixed

Added in 1.4.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.