Skip to content

Commit c663120

Browse files
committed
Fixed typos
1 parent eabac1d commit c663120

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

example/src/sample-data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const titles = [
1+
const players = [
22
'Michael Jordan',
33
'Kobe Bryant',
44
'Wilt Chamberlain',
@@ -39,5 +39,5 @@ export type TAlbumItem = {
3939

4040
export const items = Array.from({ length: 500 }).map((_, index) => ({
4141
year: index + 1,
42-
player: titles[index % titles.length]
42+
player: players[index % players.length]
4343
}))

website/css/normalize.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ a:hover {
106106
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
107107
*/
108108

109-
abbr[player] {
109+
abbr[title] {
110110
border-bottom: 1px dotted;
111111
}
112112

@@ -330,8 +330,8 @@ input {
330330
* 2. Remove excess padding in IE 8/9/10.
331331
*/
332332

333-
input[type="checkbox"],
334-
input[type="radio"] {
333+
input[type='checkbox'],
334+
input[type='radio'] {
335335
box-sizing: border-box; /* 1 */
336336
padding: 0; /* 2 */
337337
}
@@ -342,8 +342,8 @@ input[type="radio"] {
342342
* decrement button to change from `default` to `text`.
343343
*/
344344

345-
input[type="number"]::-webkit-inner-spin-button,
346-
input[type="number"]::-webkit-outer-spin-button {
345+
input[type='number']::-webkit-inner-spin-button,
346+
input[type='number']::-webkit-outer-spin-button {
347347
height: auto;
348348
}
349349

@@ -353,7 +353,7 @@ input[type="number"]::-webkit-outer-spin-button {
353353
* (include `-moz` to future-proof).
354354
*/
355355

356-
input[type="search"] {
356+
input[type='search'] {
357357
-webkit-appearance: textfield; /* 1 */ /* 2 */
358358
box-sizing: content-box;
359359
}
@@ -364,8 +364,8 @@ input[type="search"] {
364364
* padding (and `textfield` appearance).
365365
*/
366366

367-
input[type="search"]::-webkit-search-cancel-button,
368-
input[type="search"]::-webkit-search-decoration {
367+
input[type='search']::-webkit-search-cancel-button,
368+
input[type='search']::-webkit-search-decoration {
369369
-webkit-appearance: none;
370370
}
371371

website/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en-us">
33
<head>
44
<meta charset="UTF-8" />
5-
<player>React-Selectable-Fast Demo</player>
5+
<title>React-Selectable-Fast Demo</title>
66
<meta content="width=device-width, initial-scale=1" name="viewport" />
77
<link href="css/normalize.css" media="screen" rel="stylesheet" type="text/css" />
88
<link
@@ -20,7 +20,7 @@
2020

2121
<body>
2222
<a
23-
player="Fork me on GitHub"
23+
title="Fork me on GitHub"
2424
class="github-fork-ribbon"
2525
href="https://github.com/valerybugakov/react-selectable-fast"
2626
>

0 commit comments

Comments
 (0)