-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes introduced in catalog upstream were introduced by running `datalad catalog-create -c docs --force` and using Git to stage or discard specific changes. The only file which needed staging in chunks was index.html, and one property had to be added to the config file by hand (catalog_url). This uses: datalad/datalad-catalog/commit/821b12f51302b9a830dee00ac5f4f247aed0532e Closes #93, fixes #92, fixes #88
- Loading branch information
Showing
12 changed files
with
675 additions
and
216 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Component definition: an "additional tab" with context | ||
Vue.component('context-tab-body', function (resolve, reject) { | ||
url = template_dir + "/context-tab-template.html" | ||
fetch(url). | ||
then(response => { | ||
return response.text(); | ||
}). | ||
then(text => { | ||
resolve( | ||
{ | ||
template: text, | ||
props: { | ||
tabby: Object, | ||
}, | ||
data: function () { | ||
return { | ||
context_tab_ready: false, | ||
}; | ||
}, | ||
computed: {}, | ||
methods: { | ||
toUpperString(str_in) { | ||
return str_in.charAt(0).toUpperCase() + str_in.slice(1) | ||
} | ||
}, | ||
async created() { | ||
this.context_tab_ready = true; | ||
// console.log(new_tab) | ||
} | ||
} | ||
) | ||
}); | ||
}); |
Oops, something went wrong.