Giter Site home page Giter Site logo

Comments (6)

azeem avatar azeem commented on July 21, 2024

I am open to suggestions on more meaningful and mnemonic property names and json structuring. JSON property names are bit tightly integrated into the Component class code, so have to be a a bit of careful. Also we might have to consider compatibility with different versions of Webvs when changing property names, not much of an issue right now considering Webvs' current nascent state.

As for property value case-insensitivity. I agree. It should be case insensitive for enumerations, like blending modes, line-dot modes etc. I'll make a ticket for this.

from webvs.

grandchild avatar grandchild commented on July 21, 2024

Hmyeah, I am reading the code now, to see where exactly the json is interpreted, as far as I can see it's loaded directly as options, more or less - correct? Will continue reading...

Re:cases - Cool, thanks.

from webvs.

azeem avatar azeem commented on July 21, 2024

yeah. If you are reading the components code check the 1.2dev branch. I have done lots of re-work on the Components API. It supports live property updates the way AVS does. Also the structuring is (hopefully) a bit more cleaner. When i get time, I'll put up some docs in the wiki on how to write/read Component class code, meanwhile feel free to drop me a message and i can explain any parts of it.

from webvs.

grandchild avatar grandchild commented on July 21, 2024

I am on that branch, yes. Thanks, I might get back to you on that. :)

from webvs.

azeem avatar azeem commented on July 21, 2024

Is this issue relevant anymore? Can we close this?

from webvs.

grandchild avatar grandchild commented on July 21, 2024

Well unless we want to reconsider case-insensitivity (right now enums have to be allcaps, if i'm not mistaken), webvs and webvsc have been aligned by #40, and this can be closed.

from webvs.

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.