Bug Tracker

Modify

Ticket #4287 (closed bug: invalid)

Opened 5 years ago

Last modified 3 years ago

Use .innerHTML in .empty() to wipe out nodes

Reported by: john Owned by:
Priority: major Milestone: 1.4
Component: manipulation Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

This will be faster than removing each element individually.

Change History

comment:1 Changed 5 years ago by brandon

We just need to make sure we aren't leaking any memory as a result of this.

comment:2 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid
  • Component changed from core to manipulation

Can't use .innerHTML since we need to clean out the data attached to elements. Otherwise IE will bloat up like a Macy's Thanksgiving Day float.

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.