Permalink
Browse files

typo

  • Loading branch information...
Marcel Duran
Marcel Duran committed Apr 20, 2012
1 parent 4b1b0b1 commit cf49e48750f487eeaac1700d0a9d2f3232b830b8
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/common/rules.js
View
@@ -498,7 +498,7 @@ YSLOW.registerRule({
return {
score: score,
- message: total > 0 ? 'There are a total of ' +
+ message: total > 0 ? 'There is a total of ' +
YSLOW.util.plural('%num% expression%s%', total) : '',
components: offenders
};
@@ -521,15 +521,15 @@ YSLOW.registerRule({
if (styles.length) {
message = YSLOW.util.plural(
- 'There are a total of %num% inline css',
+ 'There is a total of %num% inline css',
styles.length
);
offenders.push(message);
}
if (scripts.length) {
message = YSLOW.util.plural(
- 'There are a total of %num% inline script%s%',
+ 'There is a total of %num% inline script%s%',
scripts.length
);
offenders.push(message);
@@ -1099,7 +1099,7 @@ YSLOW.registerRule({
return {
score: score,
message: (filter_total + hack_filter_total) > 0 ?
- 'There are a total of ' + YSLOW.util.plural(
+ 'There is a total of ' + YSLOW.util.plural(
'%num% filter%s%',
filter_total + hack_filter_total
) : '',

0 comments on commit cf49e48

Please sign in to comment.