if (!lib_files_loaded)
{
// We get the 'nit' folder content on github.
- $.get("https://api.github.com/repos/privat/nit/contents/?access_token=" + github_acces_token, function(data) {
+ $.get("https://api.github.com/repos/nitlang/nit/contents/?access_token=" + github_acces_token, function(data) {
for (var i = 0; i < data.length; i++) {
if (data[i].name == "lib") {
// We get the list of all files in the 'lib' folder.
- $.get("https://api.github.com/repos/privat/nit/git/trees/" + data[i].sha + "?recursive=1&access_token=" + github_acces_token, function(data) {
+ $.get("https://api.github.com/repos/nitlang/nit/git/trees/" + data[i].sha + "?recursive=1&access_token=" + github_acces_token, function(data) {
for (var i = 0; i < data.tree.length; i++) {
if (data.tree[i].type == "blob") {
lib_files_number++;
Opportunity is a web-application written in Nit to plan meetups with people in real-life (or on the internet, why not !).
-It runs on Nit's official web server: Nitcorn, available along with the compiler for the language on Github <https://github.com/privat/nit>.
+It runs on Nit's official web server: Nitcorn, available along with the compiler for the language on Github <https://github.com/nitlang/nit>.
# Compile and execute
</ul>
<ul class="nav navbar-nav pull-right">
- <li><a href="https://github.com/privat/nit/tree/master/contrib/pep8analysis/">Source and manual</a></li>
+ <li><a href="https://github.com/nitlang/nit/tree/master/contrib/pep8analysis/">Source and manual</a></li>
<li><a href="https://code.google.com/p/pep8-1/">Pep/8 project</a></li>
</ul>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
- <li><a href="https://github.com/privat/nit/">Nit repository</a></li>
+ <li><a href="https://github.com/nitlang/nit/">Nit repository</a></li>
</ul>
<ul class="nav navbar-nav pull-right">
<div class="container">
<h1>Fibonacci calculator</h1>
- <a href="https://github.com/privat/nit/blob/master/examples/fibonacci.nit">Nit source</a><br>
- <a href="https://github.com/privat/nit/blob/master/examples/emscripten/fibonacci/www/index.html">HTML source</a>
+ <a href="https://github.com/nitlang/nit/blob/master/examples/fibonacci.nit">Nit source</a><br>
+ <a href="https://github.com/nitlang/nit/blob/master/examples/emscripten/fibonacci/www/index.html">HTML source</a>
<h2>Status</h2>
<p id="loading">Loading...</p>
# # Then call "dot -Tpng -o graph.png"
# ~~~
#
-# ![A graph drawing produced by Graphviz](https://github.com/privat/nit/blob/master/lib/graph.png)
+# ![A graph drawing produced by Graphviz](https://github.com/nitlang/nit/blob/master/lib/graph.png)
#
# Other methods
# =============
For instance, the [standard library] use the following value to link to files in GitHub:
- "https://github.com/privat/nit/blob/$(git rev-parse HEAD)/%f#L%l-%L"
+ "https://github.com/nitlang/nit/blob/$(git rev-parse HEAD)/%f#L%l-%L"
Here, the `git rev-parse HEAD` is used to link to the current snapshot revision of the file.