Re: [w3c/IndexedDB] Add non-normative documentation for methods/properties. (#121)

inexorabletash commented on this pull request.



> +       set to {{ConstraintError}}.
+
+       If successful, |request|'s {{IDBRequest/result}} will be the
+       [=record=]'s [=/key=].
+    </dd>
+
+    <dt>
+      <var>request</var> = <var>store</var> .
+          {{IDBObjectStore/delete()|delete}}(<var>query</var>)
+    </dt>
+    <dd>
+       Deletes [=records=] in |store| with the given
+       [=/key=] or in the given [=key range=] in |query|.
+
+       If successful, |request|'s {{IDBRequest/result}} will
+       be undefined.

I agree it makes it more readable i.e. clarifies that we're not describing undefined behavior.

-- 
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/IndexedDB/pull/121

Received on Friday, 2 December 2016 22:47:23 UTC