function makeWorker(script) {
        var URL = window.URL || window.webkitURL;
        var Blob = window.Blob;
        var Worker = window.Worker;

        if (!URL || !Blob || !Worker || !script) {
            return null;
        }

        var blob = new Blob([script]);
        var worker = new Worker(URL.createObjectURL(blob));
        return worker;
    }
function makeWorker(script) {
        var URL = window.URL || window.webkitURL;
        var Blob = window.Blob;
        var Worker = window.Worker;

        if (!URL || !Blob || !Worker || !script) {
            return null;
        }

        var blob = new Blob([script]);
        var worker = new Worker(URL.createObjectURL(blob));
        return worker;
    }
function makeWorker ( script ) { var URL = window . URL || window . webkitURL ; var Blob = window . Blob ; var Worker = window . Worker ; if ( ! URL || ! Blob || ! Worker || ! script ) { return null ; } var blob = new Blob ( [ script ] ) ; var worker = new Worker ( URL . createObjectURL ( blob ) ) ; return worker ; }
makeWorker is a little wrapper for generating web workers from strings
makeWorker is a little wrapper for generating web workers from strings