emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML-Info design


From: David Engster
Subject: Re: HTML-Info design
Date: Mon, 22 Dec 2014 15:27:51 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux)

Lennart Borgman writes:
> On Mon, Dec 22, 2014 at 2:29 PM, Lennart Borgman
> <address@hidden> wrote:
>> On Mon, Dec 22, 2014 at 2:21 PM, Jan Djärv <address@hidden> wrote:
>>> Hi.
>>>
>
>>>
>>>> 22 dec 2014 kl. 13:49 skrev Lennart Borgman <address@hidden>:
>>>>
>>>>> On Mon, Dec 22, 2014 at 12:56 PM, Jan Djärv <address@hidden> wrote:
>>>>> Den 2014-12-22 11:36, Nic Ferrier skrev:
>>>>>>
>>>>>>
>>>>>> This is what my app does:
>>>>>>
>>>>>>   http://gnudoc.ferrier.me.uk
>>>>>>
>>>>>> it implements indexing (press i) and toc and all of that.
>>>>>>
>>>>>> Yes, it's based on JS but the JS is free.
>>>>>
>>>>>
>>>>> It does not work in Chrome, see attachment.  This is one of the eternal
>>>>> problems with JS/HTML.
>>>>
>>>>
>>>> It looks more like a bug to me. Quite common in software of all kinds. ;-)
>>>>
>>>> Please give us some more info, Jan, so we can track down the bug.
>>>> Exactly what do we do to trigger the bug?
>>>>
>>>
>>> Start Chrome, press i.
>>> Nothing happens but you can see the error in the console.
>>>
>>>        Jan D.
>>
>>
>> Thanks Jan. It works for me with Chrome here (Version 39.0.2171.95 m,
>> Windows 7 Pro).
>>
>> Since I did not see jQuery there in the source but in the picture you
>> posted it looks to me like it can be some add-on you have in Chrome.
>
>
> Sorry, my bad. jQuery is included. So it is something else.

It seems to be some initialization problem. When you hit 'i', the
evt.target.value should be "" at the beginning, but for you it is
undefined. I cannot reproduce it here with Chromium or Firefox, though.

But Nic, I think this is great and I hope you keep working on it. It
would be really neat if Texinfo could create a webapp like this which
you simply throw on some server (the dependency on Node.js makes this
slightly more complicated, but maybe one can get rid of it?). Together
with a few nice CSS themes to choose from, this would make Texinfo much
more attractive for creating online documentation.

> (But, Nic, why use jQuery on a HTML5 page?)

You are very confused about HTML5 as well as jQuery.

-David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]