lilypond-user
[Top][All Lists]
Advanced

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

Re: Slightly OT: Help needed with asynchronuous function call in JavaScr


From: Urs Liska
Subject: Re: Slightly OT: Help needed with asynchronuous function call in JavaScript
Date: Wed, 24 Jun 2015 11:53:40 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0


Am 24.06.2015 um 08:44 schrieb Johan Vromans:
> On Wed, 24 Jun 2015 04:08:55 +0200
> Urs Liska <address@hidden> wrote:
> 
>> But I'm stuck with the problem of getting to the highlighted HTML out of
>> the function and back into the book. The problem is obviously related to
>> asynchronuous function calling, which I simply don't understand well
>> enough (well, I don't really know JavaScript/Node.js).
> 
> My first guess would be to call the function synchronously.
> 
> https://nodejs.org/api/child_process.html#child_process_synchronous_process_creation

Thank you, this was the pointer I needed.
I'm just learning JavaScript and Node.js "on the job", so I expect to
oversee such obvious options ...

Best
Urs

PS: You'll see the preliminary result of this at
http://book.openlilylib.org/cg/coding.html. I'm quite excited because
the actual files look *so* much more readable now (previously I had to
store the excessively tagged <pre> element in the input files.
:-)

> 
> -- Johan
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 




reply via email to

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