Leskov Oleg 5 днів тому
батько
коміт
45749cf371
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      app/app.coffee

+ 2 - 1
app/app.coffee

@@ -12,7 +12,7 @@ document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" fi
 document.head.insertAdjacentHTML('beforeend', '<style type="text/tailwindcss" file="app/app.styl">' + stylFns['app/app.styl'] + '</style>')
 
 
-globalThis.AppDB = new require 'app/utils/AppDB'
+globalThis.AppDB = new require('app/utils/AppDB')
 
 await globalThis.AppDB.init()
 
@@ -22,6 +22,7 @@ routes = [
     #{ path: '/:path*', component: require 'app/pages/DocumentPage' }
 ]
 globalThis._ = {}
+
 # Глобальное определение vuejs приложения
 globalThis.app = Vue.createApp
     name: 'app'