Skip to content

Commit bce1369

Browse files
committed
Linter
1 parent 0c278ee commit bce1369

File tree

3 files changed

+29
-30
lines changed

3 files changed

+29
-30
lines changed

apps/demos/Demos/DataGrid/AIColumn/JQuery/index.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,40 +64,40 @@ $(() => {
6464

6565
const popoverId = `popover-${ID}`;
6666
const popoverWrapper = $('<div>');
67-
67+
6868
const licenseTitle = $('<div>')
6969
.addClass('license-info__title')
7070
.text('License Information');
71-
71+
7272
const licenseContent = $('<div>')
7373
.addClass('license-info__content');
74-
74+
7575
const imageParagraph = $('<p>')
7676
.append($('<strong>').text('Image: '))
7777
.append(`${TrademarkName} ${Name}`);
78-
78+
7979
const licenseParagraph = $('<p>')
8080
.append($('<strong>').text('Image licensed under: '))
8181
.append(LicenseName);
82-
82+
8383
const authorParagraph = $('<p>')
8484
.append($('<strong>').text('Author: '))
8585
.append(Author);
86-
86+
8787
const sourceLink = `https://${Source}`;
8888
const sourceParagraph = $('<p>')
8989
.append($('<strong>').text('Source link: '))
9090
.append(
9191
$('<a>', {
9292
href: sourceLink,
9393
target: '_blank',
94-
}).text(sourceLink)
94+
}).text(sourceLink),
9595
);
96-
96+
9797
const editsParagraph = $('<p>')
9898
.append($('<strong>').text('Edits: '))
9999
.append(Edits);
100-
100+
101101
licenseContent.append(imageParagraph, licenseParagraph, authorParagraph, sourceParagraph, editsParagraph);
102102
popoverWrapper.append(licenseTitle, licenseContent);
103103

@@ -129,14 +129,14 @@ $(() => {
129129
$('#gridContainer').dxDataGrid({
130130
dataSource: vehicles,
131131
paging: {
132-
pageSize: 10,
132+
pageSize: 10,
133133
},
134134
aiIntegration,
135135
grouping: {
136-
contextMenuEnabled: false
136+
contextMenuEnabled: false,
137137
},
138138
groupPanel: {
139-
visible: false
139+
visible: false,
140140
},
141141
columns: [
142142
{
@@ -177,7 +177,7 @@ $(() => {
177177
},
178178
{
179179
name: 'AI column',
180-
caption: 'Origin Country',
180+
caption: 'AI Column',
181181
type: 'ai',
182182
ai: {
183183
prompt: 'Identify the country where this vehicle model is originally manufactured or developed, based on its brand, model, and specifications. Respond with the country name and the country flag icon.',

apps/demos/Demos/TreeList/AIColumn/JQuery/index.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,22 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0" />
88
<link rel="stylesheet" type="text/css" href="../../../../node_modules/devextreme/dist/css/dx.light.css" />
99
<script src="../../../../node_modules/jquery/dist/jquery.min.js"></script>
10-
<script src="../../../../node_modules/devextreme-quill/dist/dx-quill.min.js"></script>
10+
<script src="../../../../node_modules/devextreme-dist/js/dx.all.js"></script>
1111
<script type="module">
1212
import { AzureOpenAI } from "https://esm.sh/[email protected]";
1313

1414
window.AzureOpenAI = AzureOpenAI;
1515
</script>
1616
<script src="../../../../node_modules/devextreme-dist/js/dx.ai-integration.js"></script>
17-
<script src="../../../../node_modules/devextreme-dist/js/dx.all.js"></script>
1817
<script src="data.js"></script>
1918
<script src="index.js"></script>
2019
<link rel="stylesheet" type="text/css" href="styles.css" />
2120
</head>
2221
<body class="dx-viewport">
2322
<div class="demo-container">
24-
<div id="tree-list-demo">
25-
<div id="gridContainer"></div>
26-
</div>
23+
<div id="tree-list-demo">
24+
<div id="gridContainer"></div>
25+
</div>
2726
</div>
2827
</body>
2928
</html>

apps/demos/Demos/TreeList/AIColumn/JQuery/index.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,40 +96,40 @@ $(() => {
9696

9797
const popoverId = `popover-${ID}`;
9898
const popoverWrapper = $('<div>');
99-
99+
100100
const licenseTitle = $('<div>')
101101
.addClass('license-info__title')
102102
.text('License Information');
103-
103+
104104
const licenseContent = $('<div>')
105105
.addClass('license-info__content');
106-
106+
107107
const imageParagraph = $('<p>')
108108
.append($('<strong>').text('Image: '))
109109
.append(`${TrademarkName} ${Name}`);
110-
110+
111111
const licenseParagraph = $('<p>')
112112
.append($('<strong>').text('Image licensed under: '))
113113
.append(LicenseName);
114-
114+
115115
const authorParagraph = $('<p>')
116116
.append($('<strong>').text('Author: '))
117117
.append(Author);
118-
118+
119119
const sourceLink = `https://${Source}`;
120120
const sourceParagraph = $('<p>')
121121
.append($('<strong>').text('Source link: '))
122122
.append(
123123
$('<a>', {
124124
href: sourceLink,
125125
target: '_blank',
126-
}).text(sourceLink)
126+
}).text(sourceLink),
127127
);
128-
128+
129129
const editsParagraph = $('<p>')
130130
.append($('<strong>').text('Edits: '))
131131
.append(Edits);
132-
132+
133133
licenseContent.append(imageParagraph, licenseParagraph, authorParagraph, sourceParagraph, editsParagraph);
134134
popoverWrapper.append(licenseTitle, licenseContent);
135135

@@ -171,10 +171,10 @@ $(() => {
171171
expandedRowKeys: [1, 3],
172172
aiIntegration,
173173
grouping: {
174-
contextMenuEnabled: false
174+
contextMenuEnabled: false,
175175
},
176176
groupPanel: {
177-
visible: false
177+
visible: false,
178178
},
179179
columns: [
180180
{
@@ -215,7 +215,7 @@ $(() => {
215215
},
216216
{
217217
name: 'origin',
218-
caption: 'Origin Country',
218+
caption: 'AI Column',
219219
type: 'ai',
220220
ai: {
221221
prompt: 'Identify the country where this vehicle model is originally manufactured or developed, based on its brand, model, and specifications. Respond with the country name and the country flag icon.',

0 commit comments

Comments
 (0)