From 9f3364d2a4e70cdf87e51d56f871d60c376ec4b4 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sun, 3 Apr 2016 04:58:04 +0300 Subject: [PATCH 1/2] Correct a typo. --- src/color/docs/index.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color/docs/index.mustache b/src/color/docs/index.mustache index e611600f209..aa76d0e10f2 100644 --- a/src/color/docs/index.mustache +++ b/src/color/docs/index.mustache @@ -248,7 +248,7 @@ Y.Color.getBrightness(yellow); // 97

Match Brightness

You may wish to match one color to the preceived brightness of another color. This process will keep the hue and saturation the same, and only adjust the luminance to a color that is the same, or nearly the same, perceived brightness.

-

`getSimiliarBrightness` takes two parameters. The first is the color you wish to adjust. The second is the color to which you wish to match the perceived brightness.

+

`getSimilarBrightness` takes two parameters. The first is the color you wish to adjust. The second is the color to which you wish to match the perceived brightness.

It will return a single color value string.

 //getSimilarBrightness(color, match, to)

From 497f6e369031b724eec574826cef7701f8fb61de Mon Sep 17 00:00:00 2001
From: Shlomi Fish 
Date: Sun, 3 Apr 2016 05:05:53 +0300
Subject: [PATCH 2/2] Correct a typo. Untested.

---
 src/autocomplete/docs/index.mustache | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/autocomplete/docs/index.mustache b/src/autocomplete/docs/index.mustache
index 4809a4a65f4..5af0527905a 100644
--- a/src/autocomplete/docs/index.mustache
+++ b/src/autocomplete/docs/index.mustache
@@ -1230,7 +1230,7 @@ In addition to the standard set of highlighters, the optional `autocomplete-high
 

-To use accent folding highlighters, include the `autocomplete-highlighters-accentfold` module, then specifiy a highlighter by appending `Fold` to the name. For example, the accent folding version of the `phraseMatch` highlighter is `phraseMatchFold`. Note that all accent folding highlighters are case-insensitive. +To use accent folding highlighters, include the `autocomplete-highlighters-accentfold` module, then specify a highlighter by appending `Fold` to the name. For example, the accent folding version of the `phraseMatch` highlighter is `phraseMatchFold`. Note that all accent folding highlighters are case-insensitive.