|
@@ -27,8 +27,8 @@ ExampleStore.prototype.loadRepository = function(repoPath) {
|
|
|
return scandirAsync(fullPath, ['.gitkeep', 'repo-config.json'])
|
|
return scandirAsync(fullPath, ['.gitkeep', 'repo-config.json'])
|
|
|
.then(examples => Promise.map(
|
|
.then(examples => Promise.map(
|
|
|
examples, example => loadExample(repoDescriptor, example)
|
|
examples, example => loadExample(repoDescriptor, example)
|
|
|
- ))
|
|
|
|
|
- .then(() => console.log(this.repos[0]))
|
|
|
|
|
|
|
+ ));
|
|
|
|
|
+ // .then(() => console.log(this.repos[0]))
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
ExampleStore.prototype.loadExample = function(repo, slug) {
|
|
ExampleStore.prototype.loadExample = function(repo, slug) {
|