21 May 2012

The Tech Reflector

 
Star Following

  Source Favicon
By Andrea Giammarchi of Web Reflection 8 months ago.
Email

…piece of JavaScript able to make everything else stuck regardless the number of CPU and WebWorkers the Browser can handle

the " close window/tab " explicit action that takes ages due some greedy onunload operation

any sort of security issue

the change/update that requires a page reload

We are all in the same field Architecture matters, experience matters, performances matter, investigations matter, code quality matter, unit tests matter, UX is essential, and UI only …

webreflection.blogspot.com Read
  Source Favicon
On DailyJS 8 months ago.
Email

…console4Worker , License: MIT ) by Jerome Etienne helps debug WebWorkers by making console.log (and other console methods) work inside workers in browsers that don't yet support this.

Some configuration within each worker is required first:

importScripts ( 'console4Worker-worker.js' ); console . log ( "console call made from inside a webworker" );

Then on the actual page:

// init the worker var worker = new Worker ( "worker.js" ); // bind …

dailyjs.com Read