This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Zadanie 1. | |
Pierwszą częścią naszego zadania jest stworzyć nowy Task i zmergować go do repozytorium. Task powinien być wzlgędnie prosty, lecz nie zbyt prosty. | |
Instrukcja: | |
0. mieć konto na githubie | |
1. sforkować repozytorium: https://github.com/neojski/js-introduction/ (prawy górny róg przycisk fork) | |
2. stworzyć nowy issue (https://github.com/neojski/js-introduction/issues) opisujący co będzie robił nasz Task i upewnić się, że przed nami nikt takiego taska jeszcze nie stworzył. Issue dostanie pewien numerek x. | |
3. ściągnąć repo do siebie na dysk | |
4. utworzyć nową gałąź (git checkout -b nazwa lub git branch ...) opisaną jako: nr-issue-krótki-opis, tj. np. 5-calculate-matrix-determinant | |
5. przyjrzeć się folderowi /tasks/homework/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asyncTest("xxx", function() { | |
initTestDB(this.name, function(err, db) { | |
db.put({_id: "foo/bar", test: "test"}, function(err, res) { | |
db.get("foo", function(err, res) { | |
console.log(res); | |
db.get("foo/bar", function(err, res){ | |
console.log(res); | |
readBlob(res, function(data) { | |
console.log("test", data); |