From a51d515e4cc5262e205a7224c80464d75be5b240 Mon Sep 17 00:00:00 2001 From: Barney Date: Mon, 10 Nov 2014 15:38:07 +0000 Subject: [PATCH] Reverting docs edit --- docs/mithril.request.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/mithril.request.md b/docs/mithril.request.md index 8543fff4..be435f21 100644 --- a/docs/mithril.request.md +++ b/docs/mithril.request.md @@ -457,8 +457,6 @@ where: m.request({method: "GET", url: "/foo", background: true}) .then(m.redraw); //force redraw ``` - - The return value of a background `m.request` should not be exposed to controllers or views, since without the blocking effect of redraw-blocking effect of `m.startComputation` it is liable to be invoked before it resolves, which can lead to runtime errors. - **any unwrapSuccess(any data)** (optional)