Skip to content

Commit c4cb737

Browse files
Fix jQuery (#69)
* jQuery - Fix lint
1 parent 34a379e commit c4cb737

File tree

8 files changed

+369
-2318
lines changed

8 files changed

+369
-2318
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<!-- default badges list -->
2-
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/263296064/25.1.2%2B)
32
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T888862)
43
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
54
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)

jQuery/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jQuery/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
},
2626
"dependencies": {
2727
"browser-sync": "^3.0.2",
28-
"devextreme": "24.2.3",
29-
"devextreme-dist": "24.2.3",
28+
"devextreme": "25.1",
29+
"devextreme-dist": "25.1",
3030
"jquery": "^3.7.1"
3131
}
3232
}

jQuery/src/data.js

Lines changed: 119 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,133 @@
11
const employees = [{
2-
ID: 1,
3-
FirstName: 'John',
4-
LastName: 'Heart',
5-
Prefix: 'Mr.',
6-
Position: 'CEO',
7-
BirthDate: '1964/03/16',
8-
HireDate: '1995/01/15',
9-
Notes: 'John has been in the Audio/Video industry since 1990. He has led DevAv as its CEO since 2003.\r\n\r\nWhen not working hard as the CEO, John loves to golf and bowl. He once bowled a perfect game of 300.',
10-
Address: '351 S Hill St.',
11-
Phone: '16102458448',
12-
2+
ID: 1,
3+
FirstName: 'John',
4+
LastName: 'Heart',
5+
Prefix: 'Mr.',
6+
Position: 'CEO',
7+
BirthDate: '1964/03/16',
8+
HireDate: '1995/01/15',
9+
Notes: 'John has been in the Audio/Video industry since 1990. He has led DevAv as its CEO since 2003.\r\n\r\nWhen not working hard as the CEO, John loves to golf and bowl. He once bowled a perfect game of 300.',
10+
Address: '351 S Hill St.',
11+
Phone: '16102458448',
12+
1313
}, {
14-
ID: 2,
15-
FirstName: 'Olivia',
16-
LastName: 'Peyton',
17-
Prefix: 'Mrs.',
18-
Position: 'Sales Assistant',
19-
BirthDate: '1981/06/03',
20-
HireDate: '2012/05/14',
21-
Notes: 'Olivia loves to sell. She has been selling DevAV products since 2012. \r\n\r\nOlivia was homecoming queen in high school. She is expecting her first child in 6 months. Good Luck Olivia.',
22-
Address: '807 W Paseo Del Mar',
23-
Phone: '16102347905',
24-
14+
ID: 2,
15+
FirstName: 'Olivia',
16+
LastName: 'Peyton',
17+
Prefix: 'Mrs.',
18+
Position: 'Sales Assistant',
19+
BirthDate: '1981/06/03',
20+
HireDate: '2012/05/14',
21+
Notes: 'Olivia loves to sell. She has been selling DevAV products since 2012. \r\n\r\nOlivia was homecoming queen in high school. She is expecting her first child in 6 months. Good Luck Olivia.',
22+
Address: '807 W Paseo Del Mar',
23+
Phone: '16102347905',
24+
2525
}, {
26-
ID: 3,
27-
FirstName: 'Robert',
28-
LastName: 'Reagan',
29-
Prefix: 'Mr.',
30-
Position: 'CMO',
31-
BirthDate: '1974/09/07',
32-
HireDate: '2002/11/08',
33-
Notes: 'Robert was recently voted the CMO of the year by CMO Magazine. He is a proud member of the DevAV Management Team.\r\n\r\nRobert is a championship BBQ chef, so when you get the chance ask him for his secret recipe.',
34-
Address: '4 Westmoreland Pl.',
35-
Phone: '14845219762',
36-
26+
ID: 3,
27+
FirstName: 'Robert',
28+
LastName: 'Reagan',
29+
Prefix: 'Mr.',
30+
Position: 'CMO',
31+
BirthDate: '1974/09/07',
32+
HireDate: '2002/11/08',
33+
Notes: 'Robert was recently voted the CMO of the year by CMO Magazine. He is a proud member of the DevAV Management Team.\r\n\r\nRobert is a championship BBQ chef, so when you get the chance ask him for his secret recipe.',
34+
Address: '4 Westmoreland Pl.',
35+
Phone: '14845219762',
36+
3737
}, {
38-
ID: 4,
39-
FirstName: 'Greta',
40-
LastName: 'Sims',
41-
Prefix: 'Ms.',
42-
Position: 'HR Manager',
43-
BirthDate: '1977/11/22',
44-
HireDate: '1998/04/23',
45-
Notes: "Greta has been DevAV's HR Manager since 2003. She joined DevAV from Sonee Corp.\r\n\r\nGreta is currently training for the NYC marathon. Her best marathon time is 4 hours. Go Greta.",
46-
Address: '1700 S Grandview Dr.',
47-
Phone: '14844578858',
48-
38+
ID: 4,
39+
FirstName: 'Greta',
40+
LastName: 'Sims',
41+
Prefix: 'Ms.',
42+
Position: 'HR Manager',
43+
BirthDate: '1977/11/22',
44+
HireDate: '1998/04/23',
45+
Notes: "Greta has been DevAV's HR Manager since 2003. She joined DevAV from Sonee Corp.\r\n\r\nGreta is currently training for the NYC marathon. Her best marathon time is 4 hours. Go Greta.",
46+
Address: '1700 S Grandview Dr.',
47+
Phone: '14844578858',
48+
4949
}, {
50-
ID: 5,
51-
FirstName: 'Brett',
52-
LastName: 'Wade',
53-
Prefix: 'Mr.',
54-
Position: 'IT Manager',
55-
BirthDate: '1968/12/01',
56-
HireDate: '2009/03/06',
57-
Notes: 'Brett came to DevAv from Microsoft and has led our IT department since 2012.\r\n\r\nWhen he is not working hard for DevAV, he coaches Little League (he was a high school pitcher).',
58-
Address: '1120 Old Mill Rd.',
59-
Phone: '18143008837',
60-
50+
ID: 5,
51+
FirstName: 'Brett',
52+
LastName: 'Wade',
53+
Prefix: 'Mr.',
54+
Position: 'IT Manager',
55+
BirthDate: '1968/12/01',
56+
HireDate: '2009/03/06',
57+
Notes: 'Brett came to DevAv from Microsoft and has led our IT department since 2012.\r\n\r\nWhen he is not working hard for DevAV, he coaches Little League (he was a high school pitcher).',
58+
Address: '1120 Old Mill Rd.',
59+
Phone: '18143008837',
60+
6161
}, {
62-
ID: 6,
63-
FirstName: 'Sandra',
64-
LastName: 'Johnson',
65-
Prefix: 'Mrs.',
66-
Position: 'Controller',
67-
BirthDate: '1974/11/15',
68-
HireDate: '2005/05/11',
69-
Notes: "Sandra is a CPA and has been our controller since 2008. She loves to interact with staff so if you've not met her, be certain to say hi.\r\n\r\nSandra has 2 daughters both of whom are accomplished gymnasts.",
70-
Address: '4600 N Virginia Rd.',
71-
Phone: '15852826538',
72-
62+
ID: 6,
63+
FirstName: 'Sandra',
64+
LastName: 'Johnson',
65+
Prefix: 'Mrs.',
66+
Position: 'Controller',
67+
BirthDate: '1974/11/15',
68+
HireDate: '2005/05/11',
69+
Notes: "Sandra is a CPA and has been our controller since 2008. She loves to interact with staff so if you've not met her, be certain to say hi.\r\n\r\nSandra has 2 daughters both of whom are accomplished gymnasts.",
70+
Address: '4600 N Virginia Rd.',
71+
Phone: '15852826538',
72+
7373
}, {
74-
ID: 7,
75-
FirstName: 'Kevin',
76-
LastName: 'Carter',
77-
Prefix: 'Mr.',
78-
Position: 'Shipping Manager',
79-
BirthDate: '1978/01/09',
80-
HireDate: '2009/08/11',
81-
Notes: 'Kevin is our hard-working shipping manager and has been helping that department work like clockwork for 18 months.\r\n\r\nWhen not in the office, he is usually on the basketball court playing pick-up games.',
82-
Address: '424 N Main St.',
83-
Phone: '14844760152',
84-
74+
ID: 7,
75+
FirstName: 'Kevin',
76+
LastName: 'Carter',
77+
Prefix: 'Mr.',
78+
Position: 'Shipping Manager',
79+
BirthDate: '1978/01/09',
80+
HireDate: '2009/08/11',
81+
Notes: 'Kevin is our hard-working shipping manager and has been helping that department work like clockwork for 18 months.\r\n\r\nWhen not in the office, he is usually on the basketball court playing pick-up games.',
82+
Address: '424 N Main St.',
83+
Phone: '14844760152',
84+
8585
}, {
86-
ID: 8,
87-
FirstName: 'Cynthia',
88-
LastName: 'Stanwick',
89-
Prefix: 'Ms.',
90-
Position: 'HR Manager',
91-
BirthDate: '1985/06/05',
92-
HireDate: '2008/03/24',
93-
Notes: 'Cindy joined us in 2008 and has been in the HR department for 2 years. \r\n\r\nShe was recently awarded employee of the month. Way to go Cindy!',
94-
Address: '2211 Bonita Dr.',
95-
Phone: '14842989304',
96-
86+
ID: 8,
87+
FirstName: 'Cynthia',
88+
LastName: 'Stanwick',
89+
Prefix: 'Ms.',
90+
Position: 'HR Manager',
91+
BirthDate: '1985/06/05',
92+
HireDate: '2008/03/24',
93+
Notes: 'Cindy joined us in 2008 and has been in the HR department for 2 years. \r\n\r\nShe was recently awarded employee of the month. Way to go Cindy!',
94+
Address: '2211 Bonita Dr.',
95+
Phone: '14842989304',
96+
9797
}, {
98-
ID: 9,
99-
FirstName: 'Kent',
100-
LastName: 'Samuelson',
101-
Prefix: 'Dr.',
102-
Position: 'Support Manager',
103-
BirthDate: '1972/09/11',
104-
HireDate: '2009/04/22',
105-
Notes: 'As our ombudsman, Kent is on the front-lines solving customer problems and helping our partners address issues out in the field. He is a classically trained musician and is a member of the Chamber Orchestra.',
106-
Address: '12100 Mora Dr',
107-
Phone: '14844731660',
108-
98+
ID: 9,
99+
FirstName: 'Kent',
100+
LastName: 'Samuelson',
101+
Prefix: 'Dr.',
102+
Position: 'Support Manager',
103+
BirthDate: '1972/09/11',
104+
HireDate: '2009/04/22',
105+
Notes: 'As our ombudsman, Kent is on the front-lines solving customer problems and helping our partners address issues out in the field. He is a classically trained musician and is a member of the Chamber Orchestra.',
106+
Address: '12100 Mora Dr',
107+
Phone: '14844731660',
108+
109109
}, {
110-
ID: 10,
111-
FirstName: 'Taylor',
112-
LastName: 'Riley',
113-
Prefix: 'Mr.',
114-
Position: 'Sales Manager',
115-
BirthDate: '1982/08/14',
116-
HireDate: '2012/04/14',
117-
Notes: "If you are like the rest of us at DevAV, then you've probably reached out for help from Taylor. He does a great job as a member of our IT department.",
118-
Address: '7776 Torreyson Dr',
119-
Phone: '14842989306',
120-
110+
ID: 10,
111+
FirstName: 'Taylor',
112+
LastName: 'Riley',
113+
Prefix: 'Mr.',
114+
Position: 'Sales Manager',
115+
BirthDate: '1982/08/14',
116+
HireDate: '2012/04/14',
117+
Notes: "If you are like the rest of us at DevAV, then you've probably reached out for help from Taylor. He does a great job as a member of our IT department.",
118+
Address: '7776 Torreyson Dr',
119+
Phone: '14842989306',
120+
121121
}];
122122

123123
const positions = [
124-
'HR Manager',
125-
'IT Manager',
126-
'CEO',
127-
'Controller',
128-
'Sales Manager',
129-
'Support Manager',
130-
'Shipping Manager',
131-
'Sales Assistant',
132-
'CMO',
124+
'HR Manager',
125+
'IT Manager',
126+
'CEO',
127+
'Controller',
128+
'Sales Manager',
129+
'Support Manager',
130+
'Shipping Manager',
131+
'Sales Assistant',
132+
'CMO',
133133
];

jQuery/src/index.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.demo-container {
2-
margin: 50px 50px;
3-
width: 90vh;
2+
margin: 50px;
3+
width: 90vw;
44
}
55

6-
#helpedInfo {
6+
#help-info {
77
color: #42a5f5;
88
}
99

jQuery/src/index.html

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<title>jQuery App</title>
5-
<meta charset="utf-8">
6-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
8-
<link rel="icon" href="/favicon.ico">
93

10-
<link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/22.2.4/css/dx.light.css" />
4+
<head>
5+
<title>jQuery App</title>
6+
<meta charset="utf-8" />
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
8+
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
9+
<link rel="icon" href="/favicon.ico" />
1110

12-
<link rel="stylesheet" type="text/css" href="index.css" />
13-
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.js"></script>
14-
<script type="text/javascript" src="../node_modules/devextreme/dist/js/dx.all.js"></script>
15-
<script type="text/javascript" src="data.js"></script>
16-
<script type="text/javascript" src="index.js"></script>
17-
</head>
11+
<link rel="stylesheet" type="text/css" href="../node_modules/devextreme-dist/css/dx.light.css" />
1812

19-
<body class="dx-viewport">
20-
<div id="grid"></div>
21-
<div id="popup"></div>
22-
</body>
23-
</html>
13+
<link rel="stylesheet" type="text/css" href="index.css" />
14+
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.js"></script>
15+
<script type="text/javascript" src="../node_modules/devextreme-dist/js/dx.all.js"></script>
16+
<script type="text/javascript" src="data.js"></script>
17+
<script type="text/javascript" src="index.js"></script>
18+
</head>
19+
20+
<body class="dx-viewport">
21+
<div id="grid"></div>
22+
<div id="popup"></div>
23+
</body>
24+
25+
</html>

0 commit comments

Comments
 (0)