W3C home > Mailing lists > Public > public-device-apis@w3.org > April 2011

Calendar API: navigator ?

From: João Eiras <joao.eiras@gmail.com>
Date: Wed, 20 Apr 2011 14:18:13 +0100
Message-ID: <BANLkTimqqk9c54x5+LJ+8L9Vhs99WvP4Hg@mail.gmail.com>
To: public-device-apis@w3.org

Just became aware of the calendar API


I have one serious question: why placing the API inside the navigator object ?

That seems like unneeded indirection and overloading of navigator.
Navigator is an object with completely different semantics which just
contains info about the user agent and webpage environment (name,
version, supported plugins and mime-types).

I would suggest making calendar global, like window.calendar and that
way to remove a dependency.

Thank you.
Received on Wednesday, 20 April 2011 13:19:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:48 UTC