lib devPath

This commit is contained in:
Yuri Kuznetsov
2021-06-19 19:35:22 +03:00
parent e68ad67070
commit df887cba61
7 changed files with 118 additions and 9 deletions
+5 -4
View File
@@ -16,17 +16,18 @@
<link rel="icon" href="{{basePath}}{{faviconPath}}" type="image/x-icon">
<link rel="shortcut icon" href="{{basePath}}{{faviconPath}}" type="image/x-icon">
<script type="text/javascript">
$(function () {
$(() => {
Espo.loader.cacheTimestamp = {{loaderCacheTimestamp}};
Espo.require('{{appClientClassName}}', function (App) {
var app = new App({
require('{{appClientClassName}}', App => {
new App({
id: '{{applicationId}}',
useCache: {{useCache}},
cacheTimestamp: {{cacheTimestamp}},
basePath: '{{basePath}}',
apiUrl: '{{apiUrl}}',
ajaxTimeout: {{ajaxTimeout}},
}, function (app) {
}, app => {
{{runScript}}
});
});