Mercurial > js4py-pl
changeset 201:b6864a86e876 default tip
Przetłumaczone getting-started
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Sun, 15 Jul 2012 13:27:27 +0200 |
| parents | 13b963e5e539 |
| children | |
| files | core-javascript/getting-started.rst |
| diffstat | 1 files changed, 26 insertions(+), 30 deletions(-) [+] |
line wrap: on
line diff
--- a/core-javascript/getting-started.rst Sat Jul 14 14:41:12 2012 +0200 +++ b/core-javascript/getting-started.rst Sun Jul 15 13:27:27 2012 +0200 @@ -1,44 +1,42 @@ -Getting started -=============== +Przygotowania +============= -What you need -------------- +Co będzie potrzebne +------------------- -You'll need on your machine +Na swoim komputerze będziecie potrzebować: -#. A JavaScript interpreter which provides a command line +#. Interpreter JavaScript udostępniający linię poleceń. -#. An editor on your machine. +#. Edytor tekstu. -You'll also to download and unzip the course :download:`work folder +Musicie także ściągnąć i rozpakować :download:`katalog roboczy </core-javascript-work.zip>`. -Windows and Linux ------------------ +Windows i Linux +--------------- -For Windows the easiest thing to do is to `download the JSDB -interpreter <http://www.jsdb.org/download.html>`_, and use notepad (or -some other editor). +Pod Windowsem najłatwiej jest `ściągnąć interpreter JSDB +<http://www.jsdb.org/download.html>`_ i używać Notepad (albo dowolny inny +edytor tekstu). -For Linux you and install Rhino and use your favourite editor. +Pod Linuksem można zainstalować Rhino i używać swój domyślny edytor tekstu. .. code-block:: sh $ sudo apt-get install rhino -Are you ready? --------------- +Gotowi? +------- -You'll want to be able to run the JavaScript interpreter from the -command line when in the work folder. This will be automatic (via the -PATH) with Linux and Rhino. For Windows the easiest thing to do is to -place the jsdb.exe file in the work folder. +Będziecie chcieli uruchamiać interpreter JavaScript z katalogu roboczego. +Pod Linuksem nie trzeba w tym celu robić nic specjalnego, natomiast pod +Windowsem najłatwiej jest po prostu umieścić ``jsdb.exe`` w tym katalogu. -When you're ready type *js* at a command prompt. This starts the -interpreter and gives you a *js>* prompt. You'll get something like -this. +Kiedy będziecie gotowi, wpiszcie ``js`` (albo ``jsdb``) w linii poleceń +aby uruchomić interpreter. Zobaczycie wówczas coś takiego: .. code-block:: javascript @@ -46,9 +44,8 @@ Rhino 1.7 release 2 2010 01 20 js> -Now type the command as below at the JavaScript prompt (with Return at the end of -each line) and you'll get responses as below. - +Teraz wpiszcie komendy podane poniżej (wciskając Return na końcu każdej linii). +Powinniście dostać takie same wyniki jak pokazane. .. code-block:: javascript @@ -66,11 +63,10 @@ false -You might be surprised by the last response from the interpreter, but -every JavaScript interpreter does this. +Ostatni wynik może być zaskoczeniem, ale każdy interpreter JavaScript tak robi. -Yes, you're ready +Jesteście gotowi! ----------------- -To exit the interpreter use Ctrl-C or Ctrl-D. +Aby opuścić interpreter, wciśnijcie ``Ctrl-C`` lub ``Ctrl-D`` (pod Windowsem ``Ctrl-Z``).
