Re: [w3c/manifest] feat: add category member (resolves #569) (#598)

kenchris commented on this pull request.



> +              <li>Return <code>undefined</code>.
+              </li>
+            </ol>
+          </li>
+          <li>Return <var>category</var>.
+          </li>
+        </ol>
+        <p>
+          The category string should be treated as case insensitive. Thus, 
+          <code>sports</code>, <code>Sports</code>, <code>SPORTS</code>, and 
+          <code>SpOrTs</code> are all equivalent.
+        </p>
+        <p>
+          Spaces, underscores, and dashes should be treated as equivalent. 
+          Thus, <code>health & fitness</code>,  
+          <code>health_&_fitness</code>, and <code>health-&-fitness</code> 

I wonder if we can avoid this & altogether. We already allow to add multiple categories, so one store could put "health" in the "Health and Fitness" group, and you could event set the category to "health, fitness" and the store could use both values to decide whether to add to its "Health and Medicin" or the "Health and Fitness" category.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/598#discussion_r132642414

Received on Friday, 11 August 2017 09:01:24 UTC