Giter Site home page Giter Site logo

Comments (6)

renaudpawlak avatar renaudpawlak commented on July 25, 2024

Thanks for reporting this bug. I am on it.

from jsweet.

renaudpawlak avatar renaudpawlak commented on July 25, 2024

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.

ssatguru avatar ssatguru commented on July 25, 2024

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.

renaudpawlak avatar renaudpawlak commented on July 25, 2024

Really cool workaround hack. Well done ;)

from jsweet.

renaudpawlak avatar renaudpawlak commented on July 25, 2024

Most issues are now solved. The empty constructor should now be protected (not visible). Thanks.

from jsweet.

ssatguru avatar ssatguru commented on July 25, 2024

Great, Thanks

from jsweet.

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.