I'm not sure why you think editing is simple. The only fully correct way to compile Javascript is to reload the page. If you do that, you may as well edit the source on the server. There are lots of almost- correct ways to deal with edited Javascript but many of them require changes to the Javascript engine.
An alternative approach more similar to how Firebug works with CSS and HTML is to create a live-object editing capability. Rather than edit source you edit objects, Function bodies and properties of objects. Smalltalk takes this approach and the potential was further explored by the Self research project at Sun and Stanford more than ten years ago. More recently Dan Ingalls has demonstrated this ability in Javascript via the Lively Kernel project. This is the direction I'd like to explore with Firebug, less like "editing" more like 'changing objects'. jjb On Apr 5, 4:26 am, leese <[email protected]> wrote: > I am having the same issue. Is there a way around this? I'd like to be > able to edit my javascript within my html page but I can't get into > edit mode either. It seems strange to have most of Firebug's > functionality at my fingertips and not be able to do something as > simple as edit it. > > Am I missing something??? > > Leese > > On Mar 23, 8:30 am, alan <[email protected]> wrote: > > > I'm clearly missing something really obvious, since I can't find any > > explanation of how this is done. > > > I've just added Firebug 1.3 to my copy of Firefox 3.0.7, primarily > > because I want an IDE forJavascript. > > > I can load a localHTMLfile containing a block ofJavascriptinto > > Firefox, and I can inspect theJavascriptcoding, set up break-points > > and initiate line-by-line execution of the script. But I can't see how > > to enable editing of theJavascriptcode within Firebug. If I want to > > change, for example, "for j = 1; ...." to "for i = 1;...", I can > > highlight the "j" in the coding, but not change it. > > > How do IeditJavascript(andHTML, for that matter)? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
