Re: Proposal for using web intents for a print intent

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