Coder Social home page Coder Social logo

Comments (9)

thlorenz avatar thlorenz commented on May 24, 2024 1

Yeah, I understood that .. next time it would help to clarify that you aren't using a lib the way it is intended to be used, i.e. it states clearly in the readme that it is for browserify.
That way I don't have to spend the time teasing out of you what the actual problem is (in this case your custom loader).

Hope you can figure your problem out ... good luck! :)

from brace.

AStoker avatar AStoker commented on May 24, 2024

Bump. Any update on this?

from brace.

thlorenz avatar thlorenz commented on May 24, 2024

I'm not fully aware what's broken WRT w3c-blob. Could you elaborate a bit more please?
Have you tried upgrading the version of it?

What solution do you propose to replace it while keeping things working in all browsers?
Could you submit a PR with that solution?

from brace.

AStoker avatar AStoker commented on May 24, 2024

Well, my particular problem comes from a bundling operation that fails to find the w3c blob library (probably due to how it's being loaded?). But Blob has support in all browsers (http://caniuse.com/#feat=blobbuilder) at this point, and w3c blob hasn't been updated in 4 years (no recent version). The solution would be to just remove w3c-blob as a dependency and rely on the native browser Blob implementation.

from brace.

thlorenz avatar thlorenz commented on May 24, 2024

The solution would be to just remove w3c-blob as a dependency and rely on the native browser Blob implementation

That might work for you but would break some people still running with older browsers.

w3c blob hasn't been updated in 4 years

That's cause it is very simple and works and thus needs no updating

If brace is not finding the blob library it could be due to not being properly installed as a dependency?

I'm not sure .. are you using browserify and run npm install and such?
It's odd that you're the only ones with this problem and it works for everyone else.

from brace.

AStoker avatar AStoker commented on May 24, 2024

I know my problem is a bit unique due to the module loader I'm using and the build tools (Aurelia and Aurelia CLI). The reason I pinged this question was because it was "related" in the sense that the library seemed unnecessary. If there's a need for w3c blob, I'm not gonna ask for it to be removed :)

How far back do you need to support?

from brace.

thlorenz avatar thlorenz commented on May 24, 2024

I know my problem is a bit unique due to the module loader I'm using and the build tools (Aurelia and Aurelia CLI)

OK so brace is only made for use with browserify .. if your module loader doesn't play well with how node + npm + browserify works then you should file an issue there.

How far back do you need to support?

I don't have that data, but would like to not break users on older browsers and would like to not degrade on compatibility.

Please find another solution, i.e. use a module loader that works and/or fork brace and make a custom adaptation just for your broken (sorry) use case ;)

from brace.

AStoker avatar AStoker commented on May 24, 2024

Sure thing. I wasn't trying to claim that this was broken :) Was just bumping the original question to try and figure something out. Thanks for responding.

from brace.

AStoker avatar AStoker commented on May 24, 2024

Sorry to use your time! Not sure if @prasikumbhare ever solved his problem though :)

from brace.

Related Issues (20)

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.