Skip to content

Commit 31fdce9

Browse files
committed
Merge remote-tracking branch 'upstream/master' into testmerge
2 parents 1627215 + b0170a9 commit 31fdce9

File tree

409 files changed

+1379
-577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

409 files changed

+1379
-577
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33

44
This repository contains the source for the Scala documentation website, as well as the source for "Scala Improvement Process" (SIP) documents.
55

6+
## Quickstart ##
7+
8+
To build and view the site locally:
9+
10+
gem install bundler
11+
bundle install
12+
bundle exec jekyll serve -I
13+
14+
For more details, read on.
15+
616
## Contributing ##
717

818
Please have a look at [http://docs.scala-lang.org/contribute.html](http://docs.scala-lang.org/contribute.html) before making a contribution.

_includes/discourse.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<div id='discourse-comments'></div>
2+
3+
<script type="text/javascript">
4+
DiscourseEmbed = { discourseUrl: 'http://users.scala-lang.org/',
5+
discourseEmbedUrl: 'http://docs.scala-lang.org/{{ page.url }}' };
6+
7+
(function() {
8+
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
9+
d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
10+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
11+
})();
12+
</script>

_includes/disqus.html

Lines changed: 0 additions & 18 deletions
This file was deleted.

ba/tutorials/tour/_posts/2017-02-13-abstract-types.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
layout: inner-page-no-masthead
33
title: Apstraktni tipovi
44

5-
disqus: true
5+
discourse: false
66

77
tutorial: scala-tour
88
categories: tour
99
num: 22
1010
outof: 33
1111
language: ba
12+
13+
next-page: compound-types
14+
previous-page: inner-classes
1215
---
1316

1417
U Scali, klase su parameterizovane vrijednostima (parameteri konstruktora) i tipovima (ako su [generičke](generic-classes.html)).

ba/tutorials/tour/_posts/2017-02-13-annotations.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
layout: inner-page-no-masthead
33
title: Anotacije
44

5-
disqus: true
5+
discourse: false
66

77
tutorial: scala-tour
88
categories: tour
99
num: 31
1010
outof: 33
1111
language: ba
12+
13+
next-page: default-parameter-values
14+
previous-page: case-classes
1215
---
1316

1417
Anotacije pridružuju meta-informacije definicijama.

ba/tutorials/tour/_posts/2017-02-13-anonymous-function-syntax.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
layout: inner-page-no-masthead
33
title: Sintaksa anonimnih funkcija
44

5-
disqus: true
5+
discourse: false
66

77
tutorial: scala-tour
88
categories: tour
99
num: 6
1010
outof: 33
1111
language: ba
12+
13+
next-page: higher-order-functions
14+
previous-page: mixin-class-composition
1215
---
1316

1417
Scala omogućuje relativno lahku sintaksu za definisanje anonimnih funkcija. Sljedeći izraz kreira funkciju za sljedbenike cijelih brojeva:

ba/tutorials/tour/_posts/2017-02-13-automatic-closures.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
layout: inner-page-no-masthead
33
title: Automatska konstrukcija tipno zavisnih closura (zatvarajućih funkcija)
44

5-
disqus: true
5+
discourse: false
66

77
tutorial: scala-tour
88
categories: tour
99
num: 30
1010
outof: 33
1111
language: ba
12+
13+
next-page: case-classes
14+
previous-page: operators
1215
---
1316

1417
Scala dozvoljava da se argument (ili više njih) metode ne evaluira prije samog poziva metode.

ba/tutorials/tour/_posts/2017-02-13-case-classes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
layout: inner-page-no-masthead
33
title: Case klase
44

5-
disqus: true
5+
discourse: false
66

77
tutorial: scala-tour
88
categories: tour
99
num: 30
1010
outof: 33
1111
language: ba
12+
13+
next-page: annotations
14+
previous-page: automatic-closures
1215
---
1316

1417
Scala podržava tzv. _case klase_.

ba/tutorials/tour/_posts/2017-02-13-classes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
layout: inner-page-no-masthead
33
title: Klase
44

5-
disqus: true
5+
discourse: false
66

77
tutorial: scala-tour
88
categories: tour
99
num: 3
1010
outof: 33
1111
language: ba
12+
13+
next-page: traits
14+
previous-page: unified-types
1215
---
1316

1417
Klase u Scali su statički šabloni koji mogu biti instancirani u više objekata tokom izvršavanja programa (runtime).

ba/tutorials/tour/_posts/2017-02-13-compound-types.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
layout: inner-page-no-masthead
33
title: Složeni tipovi
44

5-
disqus: true
5+
discourse: false
66

77
tutorial: scala-tour
88
categories: tour
99
num: 23
1010
outof: 33
1111
language: ba
12+
13+
next-page: explicitly-typed-self-references
14+
previous-page: abstract-types
1215
---
1316

1417
Ponekad je potrebno izraziti da je tip objekta podtip nekoliko drugih tipova.

0 commit comments

Comments
 (0)