Re: [O] JavaScript and babel

2012-06-06 Thread Alan Schmitt
On 7 juin 2012, at 07:25, Alan Schmitt wrote: > Hello, > > I'm writing a presentation about JavaScript and I was trying to get some code > to run. Unfortunately whatever I try, I get "undefined" as the results, as in > the following: > > #+begin_src js > 1; > #+end_src > > #+RESULTS: > : unde

[O] JavaScript and babel

2012-06-06 Thread Alan Schmitt
Hello, I'm writing a presentation about JavaScript and I was trying to get some code to run. Unfortunately whatever I try, I get "undefined" as the results, as in the following: #+begin_src js 1; #+end_src #+RESULTS: : undefined Could someone give an example of the syntax to use? Thanks a lo