casperlamboo / plugin-worker Goto Github PK
View Code? Open in Web Editor NEWWebWorker plugin for SystemJS
WebWorker plugin for SystemJS
Very thanks for your work ! Could you push this plugin also to npmjs.com? Could be perfect to me (and other :))
Thanks,
Tom
Hey
Really nice package. I have the package in my project however when its initialised it brakes my tests. Im still really new to testing so maybe its not a real issue with the package and more my testing ability.
Anyway i get the following when running tests when the package is included
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
ReferenceError: Can't find variable: System
at blob:http://localhost:9876/b1ee779a-edb2-4297-b4de-910289c3b981:2
PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 0 of 22 ERROR (0.014 secs / 0 secs)
I see that System is being used from loader-dev.js and loader-production.js. What is the best way of including System so can unit test the worker?
Thanks.
When using the worker I get the following error when my code is being imported.
TypeError: Map#toJSON isn't generic
This is probably caused because the loads
property from SystemJS.getConfig()
can't be stringified.
Hi,
I'm running into the issue of the loader.js file not getting the environment suffix, leading to a 404 when requiring loader.js in the index.js file. I see this when developing locally, without building a build file - transpiling at runtime.
I manually tried adjusting this to use either loader-dev.js or loader-production.js and everything starts working great.
Is there a better to do this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.