Ver Fonte

Merge pull request #7573 from jtpio/markdown-docstring

Fix docstring for MarkdownViewerFactory
Steven Silvester há 5 anos atrás
pai
commit
a66af94f6c
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      packages/markdownviewer/src/widget.ts

+ 3 - 3
packages/markdownviewer/src/widget.ts

@@ -288,7 +288,7 @@ export class MarkdownDocument extends DocumentWidget<MarkdownViewer> {
  */
 export class MarkdownViewerFactory extends ABCWidgetFactory<MarkdownDocument> {
   /**
-   * Construct a new mimetype widget factory.
+   * Construct a new markdown viewer widget factory.
    */
   constructor(options: MarkdownViewerFactory.IOptions) {
     super(Private.createRegistryOptions(options));
@@ -319,11 +319,11 @@ export class MarkdownViewerFactory extends ABCWidgetFactory<MarkdownDocument> {
 }
 
 /**
- * The namespace for MimeDocumentFactory class statics.
+ * The namespace for MarkdownViewerFactory class statics.
  */
 export namespace MarkdownViewerFactory {
   /**
-   * The options used to initialize a MimeDocumentFactory.
+   * The options used to initialize a MarkdownViewerFactory.
    */
   export interface IOptions extends DocumentRegistry.IWidgetFactoryOptions {
     /**