This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Description
What steps will reproduce the problem?
1. Use importScripts() in a WebWorker
I want to highlight scripts, users write down
on a textarea.
Because it takes longer than 1 second for highlighting
more than 180 lines of code on my system, I want
to highlight the text in a webworker script.
(AMD Athlon X2 5200+ @2,7ghz, 4gb RAM )
Problem is, the prettify script use 'window'
which is not usable in webworker.
Is there maybe a simple solution to go arround or am I allowed
to modify the script by myself?
Thank you
Thorsten
Original issue reported on code.google.com by [email protected] on 5 Apr 2012 at 10:31