- From: Dave Raggett <dsr@w3.org>
- Date: Wed, 25 Jan 2012 11:51:41 +0000
- To: public-web-intents@w3.org
I spotted an error in my example:
On 25/01/12 11:40, Dave Raggett wrote:
> // now start the activity and redirect
> // the onSuccess, and onFail functions
> // to methods on the intent data object
>
> window.navigator.startActivity(intent,
> function (data) { intent.success(data); },
> function (data) { intent.fail(data); }
> );
Should have been:
window.navigator.startActivity(intent,
function (data) { intent.data.success(data); },
function (data) { intent.data.fail(data); }
);
sorry about that.
--
Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
Received on Wednesday, 25 January 2012 11:52:07 UTC