Closed Bug 571883 Opened 14 years ago Closed 14 years ago

Code is duplicated between the BespinEmbedded and worker scripts

Categories

(Skywriter Graveyard :: Embedded, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dangoor, Assigned: dangoor)

Details

Tiki, jQuery and the Bespin plugin together represent 12,000 lines of code (unminified) that are duplicated between BespinEmbedded and the worker script. The approach we're going to take to fix this is:

produce a BespinEmbedded.js that contains the shared code. This will recognize whether it's running in the main thread or on a worker.

on the main thread, it will load BespinMain.js

on the workers, it will load BespinWorker.js

Additionally, we'll change dryice to work from a single list of plugins again. dryice will automatically split the plugins between main and worker.
fixed in 362e39284575
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.