Coder Social home page Coder Social logo

plugin-worker's People

Contributors

casperlamboo avatar peteruithoven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

plugin-worker's Issues

Loader.js issue

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?

TypeError: Map#toJSON isn't generic

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.

NPM Publish?

Hi @casperlamboo

Very thanks for your work ! Could you push this plugin also to npmjs.com? Could be perfect to me (and other :))

Thanks,

Tom

karma Testing

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.