Skip to content

Commit

Permalink
chore: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia committed Oct 21, 2021
1 parent a088575 commit 44f2e1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
9 changes: 1 addition & 8 deletions README-it.md
Expand Up @@ -137,11 +137,6 @@ const perfume = new Perfume({
case 'lcp':
myAnalyticsTool.track('largestContentfulPaint', { duration: data });
break;
case 'lcpFinal':
myAnalyticsTool.track('largestContentfulPaintFinal', {
duration: data,
});
break;
case 'cls':
myAnalyticsTool.track('cumulativeLayoutShift', { value: data });
break;
Expand Down Expand Up @@ -248,7 +243,6 @@ Terminiamo la misura Largest Contentful Paint in due punti: quando si verifica i

```javascript
// Perfume.js: lcp 2429.00 ms
// Perfume.js: lcpFinal 2642.00 ms
```

### First Input Delay (FID)
Expand Down Expand Up @@ -393,7 +387,6 @@ Perfume esporrà per tutte le principali metriche il punteggio dei valori vitali
| Fist Paint (fp) | 0-1000 | 1001-2500 | Over 2500 |
| First Contentful Paint (fcp) | 0-1000 | 1001-2500 | Over 2500 |
| Largest Contentful Paint (lcp) | 0-2500 | 2501-4000 | Over 4000 |
| Largest Contentful Paint Final (lcpFinal) | 0-2500 | 2501-4000 | Over 4000 |
| First Input Delay (fid) | 0-100 | 101-300 | Over 300 |
| Cumulative Layout Shift (cls) | 0-0.1 | 0.11-0.25 | Over 0.25 |
| Cumulative Layout Shift Final (clsFinal) | 0-2500 | 2501-4000 | Over 4000 |
Expand Down Expand Up @@ -426,7 +419,7 @@ Un modo rapido per visualizzare i risultati sulla velocità della pagina sulla t
Divertiti ✨

```javascript
const metricNames = ['fp', 'fcp', 'lcp', 'lcpFinal', 'fid', 'cls', 'clsFinal', 'tbt', 'tbt10S', 'tbtFinal'];
const metricNames = ['fp', 'fcp', 'lcp', 'fid', 'cls', 'clsFinal', 'tbt', 'tbt10S', 'tbtFinal'];
new Perfume({
analyticsTracker: ({ metricName, data, navigatorInformation }) => {
if (metricNames.includes(metricName)) {
Expand Down
9 changes: 1 addition & 8 deletions README-ko.md
Expand Up @@ -120,11 +120,6 @@ const perfume = new Perfume({
case 'lcp':
myAnalyticsTool.track('largestContentfulPaint', { duration: data });
break;
case 'lcpFinal':
myAnalyticsTool.track('largestContentfulPaintFinal', {
duration: data,
});
break;
case 'cls':
myAnalyticsTool.track('cumulativeLayoutShift', { value: data });
break;
Expand Down Expand Up @@ -207,7 +202,6 @@ Perfume은 필요한 주요 지표 중 일부를 노출하는 데 도움이 됩

```javascript
// Perfume.js: lcp 2429.00 ms
// Perfume.js: lcpFinal 2642.00 ms
```

### First Input Delay (FID)
Expand Down Expand Up @@ -327,7 +321,6 @@ Perfume는 모든 주요 측정 항목에 대해 vitals 점수를 노출하며,
| Fist Paint (fp) | 0-1000 | 1001-2500 | Over 2500 |
| First Contentful Paint (fcp) | 0-1000 | 1001-2500 | Over 2500 |
| Largest Contentful Paint (lcp) | 0-2500 | 2501-4000 | Over 4000 |
| Largest Contentful Paint Final (lcpFinal) | 0-2500 | 2501-4000 | Over 4000 |
| First Input Delay (fid) | 0-100 | 101-300 | Over 300 |
| Cumulative Layout Shift (cls) | 0-0.1 | 0.11-0.25 | Over 0.25 |
| Cumulative Layout Shift Final (clsFinal) | 0-2500 | 2501-4000 | Over 4000 |
Expand Down Expand Up @@ -356,7 +349,7 @@ const options = {
재미있는 시간 보내시길 바랍니다. ✨

```javascript
const metricNames = ['fp', 'fcp', 'lcp', 'lcpFinal', 'fid', 'cls', 'clsFinal', 'tbt', 'tbt10S', 'tbtFinal'];
const metricNames = ['fp', 'fcp', 'lcp', 'fid', 'cls', 'clsFinal', 'tbt', 'tbt10S', 'tbtFinal'];
new Perfume({
analyticsTracker: ({ metricName, data, navigatorInformation }) => {
if (metricNames.includes(metricName)) {
Expand Down
9 changes: 1 addition & 8 deletions README-zh_CN.md
Expand Up @@ -121,11 +121,6 @@ const perfume = new Perfume({
case 'lcp':
myAnalyticsTool.track('largestContentfulPaint', { duration: data });
break;
case 'lcpFinal':
myAnalyticsTool.track('largestContentfulPaintFinal', {
duration: data,
});
break;
case 'cls':
myAnalyticsTool.track('cumulativeLayoutShift', { value: data });
break;
Expand Down Expand Up @@ -210,7 +205,6 @@ Perfume 整理公开了您可能需要的一些关键指标。

```javascript
// Perfume.js: lcp 2429.00 ms
// Perfume.js: lcpFinal 2642.00 ms
```

### 首次输入延迟 (FID)
Expand Down Expand Up @@ -330,7 +324,6 @@ Perfume 会暴露所有主要指标的生命体征得分,这些可以用来提
| Fist Paint (fp) | 0-1000 | 1001-2500 | Over 2500 |
| First Contentful Paint (fcp) | 0-1000 | 1001-2500 | Over 2500 |
| Largest Contentful Paint (lcp) | 0-2500 | 2501-4000 | Over 4000 |
| Largest Contentful Paint Final (lcpFinal) | 0-2500 | 2501-4000 | Over 4000 |
| First Input Delay (fid) | 0-100 | 101-300 | Over 300 |
| Cumulative Layout Shift (cls) | 0-0.1 | 0.11-0.25 | Over 0.25 |
| Cumulative Layout Shift Final (clsFinal) | 0-2500 | 2501-4000 | Over 4000 |
Expand Down Expand Up @@ -359,7 +352,7 @@ const options = {
Have fun ✨

```javascript
const metricNames = ['fp', 'fcp', 'lcp', 'lcpFinal', 'fid', 'cls', 'clsFinal', 'tbt', 'tbt10S', 'tbtFinal'];
const metricNames = ['fp', 'fcp', 'lcp', 'fid', 'cls', 'clsFinal', 'tbt', 'tbt10S', 'tbtFinal'];
new Perfume({
analyticsTracker: ({ metricName, data, navigatorInformation }) => {
if (metricNames.includes(metricName)) {
Expand Down

0 comments on commit 44f2e1b

Please sign in to comment.