Repo: Rename project to nbgather

This package name was available on npmjs and adheres to the `nb`
convention of other notebook plugins, like `nbdiff` and `nbdime`.
This commit is contained in:
Andrew Head 2019-05-05 17:29:31 +01:00
Родитель c1cb06320f
Коммит 116666b917
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -1,5 +1,5 @@
{
"name": "gather",
"name": "nbgather",
"version": "0.3.0",
"keywords": [
"jupyter",

Просмотреть файл

@ -66,7 +66,7 @@ export class CodeGatheringExtension
this._documentManager = documentManager;
this._notebooks = notebooks;
this._gatherModelRegistry = gatherModelRegistry;
settingRegistry.get('gather:plugin', 'rules').then(data => {
settingRegistry.get('nbgather:plugin', 'rules').then(data => {
if (JSONExt.isArray(data.composite)) {
let dataCompositeObject = data.composite as JSONArray;
this._sliceConfiguration = dataCompositeObject as SliceConfiguration;

Просмотреть файл

@ -50,10 +50,10 @@ export function log(eventName: string, data?: any) {
if (_settingRegistry != undefined || _settingRegistry != null) {
_settingRegistry.get('gather:plugin', 'loggingEnabled').then(loggingEnabled => {
_settingRegistry.get('nbgather:plugin', 'loggingEnabled').then(loggingEnabled => {
if ((typeof(loggingEnabled.composite) === 'boolean') && loggingEnabled.composite) {
_settingRegistry.get('gather:plugin', 'loggingId').then(loggingId => {
_settingRegistry.get('nbgather:plugin', 'loggingId').then(loggingId => {
if (typeof(loggingId.composite) === 'string') {
postData.loggingId = loggingId.composite as string;