greghauptmann
2008-Apr-14 23:34 UTC
what javascript editor/IDE do you recommend for someone learning javascript & prototype code???
Hi, What javascript editor/IDE do you recommend for someone learning javascript & prototype code??? E.g. ability to step through code, make changes, rerun etc. Would be good for the IDE/editor to allow you to (a) edit the javascript and (b) step through the javascript in the same window. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
David Lam
2008-Apr-15 00:03 UTC
Re: what javascript editor/IDE do you recommend for someone learning javascript & prototype code???
ed =D On Mon, Apr 14, 2008 at 4:34 PM, greghauptmann <greg.hauptmann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > What javascript editor/IDE do you recommend for someone learning > javascript & prototype code??? > > E.g. ability to step through code, make changes, rerun etc. Would be > good for the IDE/editor to allow you to (a) edit the javascript and > (b) step through the javascript in the same window. > > Thanks > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
kangax
2008-Apr-15 00:25 UTC
Re: what javascript editor/IDE do you recommend for someone learning javascript & prototype code???
Firebug let''s you do all of that. http://www.getfirebug.com/ - kangax On Apr 14, 7:34 pm, greghauptmann <greg.hauptm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > What javascript editor/IDE do you recommend for someone learning > javascript & prototype code??? > > E.g. ability to step through code, make changes, rerun etc. Would be > good for the IDE/editor to allow you to (a) edit the javascript and > (b) step through the javascript in the same window. > > Thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
greghauptmann
2008-Apr-15 00:59 UTC
Re: what javascript editor/IDE do you recommend for someone learning javascript & prototype code???
oh really - I knew you could step through existing js code. So you''re saying I could open any html page and then in FireBug write some javascript and then run/step through it? On Apr 15, 10:25 am, kangax <kan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Firebug let''s you do all of that.http://www.getfirebug.com/ > > - kangax > > On Apr 14, 7:34 pm, greghauptmann <greg.hauptm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi, > > > What javascript editor/IDE do you recommend for someone learning > > javascript & prototype code??? > > > E.g. ability to step through code, make changes, rerun etc. Would be > > good for the IDE/editor to allow you to (a) edit the javascript and > > (b) step through the javascript in the same window. > > > Thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Justin Perkins
2008-Apr-15 01:07 UTC
Re: what javascript editor/IDE do you recommend for someone learning javascript & prototype code???
On Mon, Apr 14, 2008 at 7:59 PM, greghauptmann <greg.hauptmann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > oh really - I knew you could step through existing js code. So you''re > saying I could open any html page and then in FireBug write some > javascript and then run/step through it?Yes. Drop the keyword debugger anywhere in your Javascript and load it up in Firefox with Firebug enabled, rock on :) http://getfirebug.com/docs.html I don''t recommend running with Firefox 3 at the moment, still a few things to work out. -justin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
greghauptmann
2008-Apr-15 03:41 UTC
Re: what javascript editor/IDE do you recommend for someone learning javascript & prototype code???
How do you "clear" existing classes/objects so that your breakpoints
will trigger again. When I first put the below HTML in a file and
opened it my breakpoints would work, but after hitting refresh the
javascript runs, but the breakpoints are not triggering in firebug?
------------my html file---------------------
<html>
<head>
<script language="javascript"
type="text/javascript">
<!--
function cat(name) {
this.name = name;
this.talk = function() {
alert( this.name + " say meeow!" )
}
}
cat1 = new cat("felix")
cat1.talk() //alerts "felix says meeow!"
cat2 = new cat("ginger")
cat2.talk() //alerts "ginger says meeow!"
//-->
</script>
</head>
<body>
Testing 123
</body>
</html>
------------my html file---------------------
On Apr 15, 11:07 am, "Justin Perkins"
<justinperk...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> On Mon, Apr 14, 2008 at 7:59 PM, greghauptmann
<greg.hauptm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > oh really - I knew you could step through existing js code. So
you''re
> > saying I could open any html page and then in FireBug write some
> > javascript and then run/step through it?
>
> Yes. Drop the keyword debugger anywhere in your Javascript and load it
> up in Firefox with Firebug enabled, rock on :)
>
> http://getfirebug.com/docs.html
>
> I don''t recommend running with Firefox 3 at the moment, still a
few
> things to work out.
>
> -justin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---