Comments (9)
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.
Bump. Any update on this?
from brace.
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.
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.
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.
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.
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.
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.
Sorry to use your time! Not sure if @prasikumbhare ever solved his problem though :)
from brace.
Related Issues (20)
- ace.edit can't find div #javascript-editor inside Angular Material elements
- Lua mode doesn't support the Lua 5.3 floor-division operator '//' HOT 1
- Typo in searchbox.js
- Upgrade ace editor version to latest HOT 7
- Add support to Firefox nunjucks
- Wrong cursur width when typing Asian Characters under Vim Mode HOT 1
- Support for flatbuffers mode
- About AutoCompletion
- Mismatched / incorrect types
- setValue method is emitting the change event twice HOT 2
- Could brace format js code?
- The getname() method cannot get the result of the error prompt in time HOT 1
- Get errors list or invalid state
- How to get Range from Brace and TypeScript? HOT 1
- Hi,how to show line number? HOT 1
- Accessibility: Add role=log attribute to autocomplete popup. #1777
- Question/Accessibility: what is the keyboard combo to get out of of the focus trap?
- Keyboard trap is observed between tool bar section and code block under "Module Twin" tab. HOT 3
- seems not working for chrome mv3 extensions.
- editor: assigning value during initialization of editor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brace.