From 823158ac01636444541e204741bc0ce37fbc9d74 Mon Sep 17 00:00:00 2001
From: jsteuer <jan.steuer.htw@gmail.com>
Date: Wed, 18 Dec 2019 08:23:37 +0100
Subject: [PATCH] ts doc

---
 src/Helpers.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Helpers.ts b/src/Helpers.ts
index c1b69ec..643750e 100644
--- a/src/Helpers.ts
+++ b/src/Helpers.ts
@@ -47,9 +47,9 @@
      * geloggt.
      * 
      * Anwendungsbeispiel
-     * 
-     *      const MC = new LocalStorageBasedApi();
-     *      const contextFile = await MC.ide.getContextFile() // use the api
+     *      import { Helpers } from "@mathcoach/ide-api";
+     *      const _MC = Helpers.createStorageBasedApi();
+     *      const contextFile = await _MC.ide.getContextFile() // use the api
      */
     export function createStorageBasedApi(contextFileExtension: string = "dummy.json"): MathCoach.Api {
         const fileIdentifier = (file: MathCoach.File) => `mock-file://${file.owner}@${file.part}/${file.path}`;

--
Gitblit v1.10.0-SNAPSHOT