From c52c9668631c1460b77f611776c1e1836cb6463e Mon Sep 17 00:00:00 2001
From: Patrick Jentsch <p.jentsch@uni-bielefeld.de>
Date: Fri, 30 Jun 2023 12:55:32 +0200
Subject: [PATCH] Better marking for non standard cqi additions ins cqi js

---
 app/static/js/cqi/api/client.js        | 9 ++++++---
 app/static/js/cqi/models/corpora.js    | 5 ++++-
 app/static/js/cqi/models/subcorpora.js | 5 ++++-
 3 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/app/static/js/cqi/api/client.js b/app/static/js/cqi/api/client.js
index 624e440d..e68dfa96 100644
--- a/app/static/js/cqi/api/client.js
+++ b/app/static/js/cqi/api/client.js
@@ -604,9 +604,12 @@ cqi.api.APIClient = class APIClient {
     return await this.#request(fn_name, fn_args);
   }
 
-  /**
-   * NOTE: The following functions are non standard implementations of nopaque
-   */
+  /**************************************************************************
+   * NOTE: The following is not included in the CQi specification.          *
+   **************************************************************************/
+  /**************************************************************************
+   *                      Custom additions for nopaque                      *
+   **************************************************************************/
 
   /**
    * @param {string} corpus
diff --git a/app/static/js/cqi/models/corpora.js b/app/static/js/cqi/models/corpora.js
index bb2a65e1..abc3c725 100644
--- a/app/static/js/cqi/models/corpora.js
+++ b/app/static/js/cqi/models/corpora.js
@@ -82,7 +82,10 @@ cqi.models.corpora.Corpus = class Corpus extends cqi.models.resource.Model {
   }
 
   /**************************************************************************
-   * NOTE: The following are non standard implementations of nopaque        *
+   * NOTE: The following is not included in the CQi specification.          *
+   **************************************************************************/
+  /**************************************************************************
+   *                      Custom additions for nopaque                      *
    **************************************************************************/
 
   /**
diff --git a/app/static/js/cqi/models/subcorpora.js b/app/static/js/cqi/models/subcorpora.js
index 39c4bfcf..0ba3e9cc 100644
--- a/app/static/js/cqi/models/subcorpora.js
+++ b/app/static/js/cqi/models/subcorpora.js
@@ -87,7 +87,10 @@ cqi.models.subcorpora.Subcorpus = class Subcorpus extends cqi.models.resource.Mo
   }
 
   /**************************************************************************
-   * NOTE: The following are non standard implementations of nopaque        *
+   * NOTE: The following is not included in the CQi specification.          *
+   **************************************************************************/
+  /**************************************************************************
+   *                      Custom additions for nopaque                      *
    **************************************************************************/
 
   /**
-- 
GitLab