W3C home > Mailing lists > Public > public-webplatform@w3.org > May 2014

Re: Interactive Javascript Help info.

From: Renoir Boulanger <renoir@w3.org>
Date: Fri, 02 May 2014 20:41:03 -0400
Message-ID: <53643B1F.6090702@w3.org>
To: public-webplatform@w3.org
Hi Frederik,

That's a useful idea that you got!

It isn't the right place directly per se, but let's forward the message
to the steward members so they can pass the message along to their
respective teams.



On 2014-04-30, 4:55 PM, Frederik Creemers wrote:
> Hi
> I've been using python for a couple of years now, and there's one thing I
> really love about it. It's the way you can interactively get documentation
> for modules, classes and functions. You can do this simply by calling
> help(something)
> I'm often playing around with javascript in the browser console, which
> works very much like Python's REPL (the interactive mode), and I thought
> it'd be awesome to be able to do that.
> For example, this morning, I was trying to figure out which arguments
> navigator.registerProtocolHandler takes, and I had to open a new tab,
> google it, and come back to the tab where I had the dev tools open. It
> would be so much quicker if I could have just typed
> help(navigator.registerProtocolHandler), and gotten a string back
> documenting its signature, and maybe a couple of words about what it does,
> nothing extensive.
> I'm not sure whether this is the right place to discuss this idea. Maybe I
> should post this on some ecmascript mailing list, but it seems like this
> would be quite easy to implement if the web platform had some kind of API
> we could call, with CORS enabled. This way, the help info could be updated
> without a browser update.
> I'm new to this mailing list, so I'm sorry if this message is completely in
> the wrong place.
> best regards
> Frederik

Received on Saturday, 3 May 2014 00:41:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:14:05 UTC