Remove "cfg" from node JSON configuations
Reported by lindsay.kay (at xeolabs) | September 4th, 2010 @ 12:46 PM | in V0.7.7
Change the JSON node definition format from this:
{
type: "rotate",
id: "foo",
cfg : {
angle: 45,
y: 1.0
}
}
removing the intermediate "cfg", to this:
{
type: "rotate",
id: "foo",
angle: 45,
y: 1.0
}
The rationale being that all those properties are actually on the same namespace anyway, no benefit in that cfg.
Comments and changes to this ticket
-
lindsay.kay (at xeolabs) September 4th, 2010 @ 12:54 PM
- Tag set to json
-
lindsay.kay (at xeolabs) September 4th, 2010 @ 03:34 PM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
SceneJS provides easy access to WebGL through a simple and declarative JavaScript API. The SceneJS API is functional, which enables its scene definitions to be really compact and expressive, while hooking into other JavaScript code just that little bit more smoothly.
People watching this ticket
Tags
Referenced by
- 165 Change SceneJS.Geometry "type" to "resource" Required for: https://xeolabs.lighthouseapp.com/projects...
- 166 Change SceneJS.Interpolator "type" to "mode" Required for: https://xeolabs.lighthouseapp.com/projects...
- 167 Change SceneJS.Light "type" to "mode" Required for: https://xeolabs.lighthouseapp.com/projects...