Comments (6)
Thanks for reporting this bug. I am on it.
from jsweet.
Status update. I have improved the algorithm to detect clashes with Object methods so that clone does not need to be capitalized anymore (it is actually not clashing with the Object's clone method). So if you update your Babylonjs candy and rename Clone to clone, it should work. However, I am still working on it because I found some other problems. For example the Mesh empty constructor is not valid (there are other constructors that are actually valid and you should call new Mesh("name", null) for instance). I am trying to understand why this empty constructor is generated and fix it (amongst other details in the API generator).
You can use it right now but be aware that I am working on small details, so the APIs may slightly evolve to make it safer... nothing too impacting for sure anyway (most probably you will not even see it for your use cases).
from jsweet.
Nice.
I got around the clone issue by using .$get() method and casting that to jsweet Function class
I missed the Mesh empty contructor issue :)
from jsweet.
Really cool workaround hack. Well done ;)
from jsweet.
Most issues are now solved. The empty constructor should now be protected (not visible). Thanks.
from jsweet.
Great, Thanks
from jsweet.
Related Issues (20)
- Calling method of anonymous class parent creates infinite recursion
- "a cycle was detected in static intializers" error when making a java candy HOT 2
- Does this support AWT and Swing like TeaVM?
- How is this compared to Google's j2cl?
- Property 'isAssignableFrom' does not exist HOT 3
- Refelection support ? HOT 1
- Method overloading problem between Interface<T> and Impl class
- Can't Extend from Parallel Directory Structure
- AsyncAwaitPropagation - java.lang.NoSuchFieldException: sym
- Java 16 support : Reflection issue in the compiler? HOT 2
- We could use a CLI interface for jsweet compliation HOT 2
- Provide a standalone and ready to use distribution like CheerpJ
- How to compile Pixelitor to JavaScript?
- How to compile JEdit to JavaScript?
- Error 'Building' when I try to Enable JSweet Builder HOT 3
- How build candy HOT 4
- Not all dependencies required to build jsweet are available on Maven Central
- How to run JSweet sandbox offline?
- Add Adapters Programmatically
- Request for support of 64bit logical operations
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 jsweet.