Re: Web Alarm API - idiomatic check

On 08/05/2013, at 23:16, Jake Verbaten wrote:

> a handy object is hard to persist on the server or persist in local storage between page refreshes.

Yes that seems to be very likely.

> .remove() should take a string or numeric id if you can use .remove() between page refreshes

On the other hand, if the objects returned by getAlarms() aren't clones (have the right identity) you should be able to use them to .remove().

But it's not entirely clear to me whether a getAlarms() is a good thing. Is this an API to use in web pages too? In mashups? And if I don't want other code in the same page to be able to .rmv() my alarms? What happens if the page/browser is closed when the the alarm triggers?
-- 
( Jorge )();

Received on Wednesday, 8 May 2013 22:17:33 UTC