Canvas Nasal/JavaScript Subset: Difference between revisions

Jump to navigation Jump to search
m
→‎Canvas: http://forum.flightgear.org/viewtopic.php?f=36&t=24979&p=228397&hilit=subset+javascript#p228397
m (→‎Background: http://forum.flightgear.org/viewtopic.php?f=6&t=25482&p=261254&hilit=subset+javascript#p261254)
m (→‎Canvas: http://forum.flightgear.org/viewtopic.php?f=36&t=24979&p=228397&hilit=subset+javascript#p228397)
Line 22: Line 22:


Had this relationship been obvious earlier, SVG could in fact be the internal representation format of any Canvas
Had this relationship been obvious earlier, SVG could in fact be the internal representation format of any Canvas
== Dialogs ==
there's an unfortunate amount of custom Nasal code embedded in all kinds of [[PUI]] dialogs and that it would be a good thing to get rid of that, or at least standardize on it - i.e. so that a safe subset of Nasal can be used that would also be valid JavaScript.
== Background ==
== Background ==
Given the recent mongoose/httpd work, we've been seeing some overlapping functionality that's already available in Nasal space, for which Torsten specifically implemented JavaScript wrappers, i.e. to expose the Property Tree and its listeners to JavaScript.
Given the recent mongoose/httpd work, we've been seeing some overlapping functionality that's already available in Nasal space, for which Torsten specifically implemented JavaScript wrappers, i.e. to expose the Property Tree and its listeners to JavaScript.

Navigation menu