Skip to content

Commit 410f439

Browse files
authored
Merge pull request #744 from scala-js/body-remove-stale-todo
Remove stale todo
2 parents e0cefaa + 0fc28b4 commit 410f439

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dom/src/main/scala/org/scalajs/dom/Body.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ trait Body extends js.Object {
2222
/** Takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object. */
2323
def formData(): js.Promise[FormData] = js.native
2424

25-
/** Takes a Response stream and reads it to completion. It returns a promise that resolves with a JSON object. //todo:
26-
* define the JSON type, and return a Promise[JSON] as per spec
27-
*/
25+
/** Takes a Response stream and reads it to completion. It returns a promise that resolves with a JSON object. */
2826
def json(): js.Promise[js.Any] = js.native
2927

3028
/** Takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString (text). */

0 commit comments

Comments
 (0)