mmerlin / johnny-load Goto Github PK
View Code? Open in Web Editor NEWLoad model of board hardware to a johnny-five program from a JSON style javascript description object.
License: MIT License
Load model of board hardware to a johnny-five program from a JSON style javascript description object.
License: MIT License
Create some examples for using the package. At this stage, the examples will mostly be configuration file objects. The required associated code is minimal. Examples actually using the nested model structure are needed too.
Like html class names, having multiple tags that can potentially match a single element would increase
the flexibility.
Allow label properties to be arrays of strings, as well as a single string. Consider allowing comma delimited values as well.
Need to get the structure in place, add tests for the existing code, then get caught up to where TDD is practical.
Need to publish details about what goes into the model configuration object, with options and ideas for using it.
Want the ability to several components as related group, without needing to make them all children of another component. Equivalent to a 'div' wrapper for html.
The passed model object should be treated as readonly. It could potentially be reused to load components for another board.
Handle (additional) initialization, at least for the simpler cases. Provide a setup, postcreate, doafter, or other property that can specify component specific methods to execute on the instance after it has been created. Methods that do not require any arguments are simple. Just provide the name of the method.
setup: "on"
use an array instead of a single string to specify multiple operation, and the order they are to be run in
Methods that need parameters are more complex. Something like:
setup: { "blink": [array, of, arguments] }
Will it be practical to reference metadata for the argument values?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.