Hansimov commited on
Commit
58f9352
β€’
1 Parent(s): b0d578d

:recycle: [Refactor] Move messager.js to components

Browse files
{js β†’ components}/messager.js RENAMED
@@ -1,4 +1,4 @@
1
- export class MessagerViewer {
2
  constructor(message) {
3
  this.message = message;
4
  this.create_elements();
 
1
+ class MessagerViewer {
2
  constructor(message) {
3
  this.message = message;
4
  this.create_elements();
js/chat_operator.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Messager, MessagerList } from "./messager.js";
2
- import { transform_footnote } from "./stream_jsonizer.js";
3
 
4
  let messagers_container = $("#messagers-container");
5
  let available_models_select = $("#available-models-select");
 
1
+ import { Messager, MessagerList } from "../components/messager.js";
2
+ import { transform_footnote } from "../converters/stream_jsonizer.js";
3
 
4
  let messagers_container = $("#messagers-container");
5
  let available_models_select = $("#available-models-select");