Comments (10)
I opened a new issue here @tecumsehcommunications
from squint.
from squint.
Avoid the hyphens for now the, it's a munging issue.
from squint.
I fixed the export { class-1, Class2, c }
problem.
I kind of lost track of what is the next problem. Can you maybe create a little example (preferably in the playground) to show what the next issue is?
from squint.
from squint.
With the playground I mean:
https://squint-cljs.github.io/squint/
If you hit the share button, you can share the example here via a link. But I'll try the code.
from squint.
I can reproduce the error Cannot access 'self__' before initialization
here:
This is because a field name is used in a call to super
. You're not allowed to do this, since the field isn't initialized at that point.
This would be similar as writing super(x + y + this._y);
. Node.js will spit out an error for this:
ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor
The rest of the errors have been fixed, as you can verify on the playground (again: with playground I mean the website linked above, not the REPL). If you can provide a repro using the playground by hitting Share and pasting the link here, I'll happily look at this again. I will publish a new version of squint later today.
Thanks!
from squint.
from squint.
Ah now I get what you are saying, the docs contain that mistake, makes sense. I'll fix that and then release another squint.
from squint.
Done and published. Please let me know if you have any other problems.
from squint.
Related Issues (20)
- `squint/core` Prefer slice over pop HOT 4
- cljs is not defined when using `case` HOT 3
- Squint remove ":" for keyword value HOT 16
- class definitions not showing in repl HOT 14
- `nil` keys in map HOT 3
- zipmaps are disordered HOT 3
- `nil` causes a crash in html rendering HOT 1
- html renderer crashes when rendering nil from variable
- How to emit try catch? HOT 3
- `html` spread `nil` HOT 1
- Support `js$console` for requiring global libs
- (:query req) or (get req :query) not working on express request object
- could squint be used as a clojurescript compiler to javascript, output of which works with Scittle? HOT 3
- Macros get resolved as normal functions HOT 1
- HTML is not escaped in dynamic expression HOT 1
- logical not is not working
- squint run disfunctional on windows
- vite-react example is missing dependency in package.json
- Lit/html example seems broken in the playground HOT 5
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 squint.