UNPKG

jupyterlab-emrys

Version:

A computational environment for Jupyter. Powered by Emrys

18 lines (17 loc) 570 B
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. "use strict"; var index_1 = require('./index'); /** * The default document registry provider. */ exports.docRegistryProvider = { id: 'jupyter.services.document-registry', provides: index_1.DocumentRegistry, resolve: function () { var registry = new index_1.DocumentRegistry(); registry.addModelFactory(new index_1.TextModelFactory()); registry.addModelFactory(new index_1.Base64ModelFactory()); return registry; } };