Compare Revisions

MozContact

Revision 501481:

Revision 501481 by julienw on

Revision 501501:

Revision 501501 by julienw on

Title:
MozContact
MozContact
Slug:
Web/API/mozContact
Web/API/mozContact
Tags:
"API","Reference","Contact","Firefox OS","Référence","B2G","Non-standard","WebAPI"
"API","Reference","Contact","Firefox OS","Référence","B2G","Non-standard","WebAPI"
Content:

Revision 501481
Revision 501501
nn46    <p>
47      Note that most of the properties are arrays. While Firefox 
 >OS 1.0 to 1.2 is more forgiving, Firefox 1.3 has been made strict
 >er concerning the types, and therefore this is very important to 
 >follow the type accurately to have a compatible application.
48    </p>
n57        A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Obn60        A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Ob
>jects/Date" title="/en-US/docs/Web/JavaScript/Reference/Global_Ob>jects/Date" title="/en-US/docs/Web/JavaScript/Reference/Global_Ob
>jects/Date">Date</a> object giving the first time the contact was>jects/Date">Date</a> object giving the first time the contact was
> stored.> stored. This will eventually be converted to a <code>long long</
 >code> timestamp, therefore to stay compatible over time, you shou
 >ld use <code>var published = +contact.published</code> to get and
 > use a timestamp in your code.
n63        A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Obn66        A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Ob
>jects/Date" title="/en-US/docs/Web/JavaScript/Reference/Global_Ob>jects/Date" title="/en-US/docs/Web/JavaScript/Reference/Global_Ob
>jects/Date">Date</a> object giving the last time the contact was >jects/Date">Date</a> object giving the last time the contact was 
>updated.>updated. This will eventually be converted to a <code>long long</
 >code> timestamp, therefore to stay compatible over time, you shou
 >ld use <code>var updated = +contact.updated</code> to get and use
 > a timestamp in your code.
n159        A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Obn162        A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Ob
>jects/Date" title="/en-US/docs/Web/JavaScript/Reference/Global_Ob>jects/Date" title="/en-US/docs/Web/JavaScript/Reference/Global_Ob
>jects/Date">Date</a> object representing the birthday date of the>jects/Date">Date</a> object representing the birthday date of the
> contact.> contact. This will eventually be converted to a <code>long long<
 >/code> timestamp, therefore to stay compatible over time, you sho
 >uld use <code>var bday = +contact.bday</code> to get and use a ti
 >mestamp in your code.
n177        A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Obn180        A <a href="/en-US/docs/Web/JavaScript/Reference/Global_Ob
>jects/Date" title="/en-US/docs/Web/JavaScript/Reference/Global_Ob>jects/Date" title="/en-US/docs/Web/JavaScript/Reference/Global_Ob
>jects/Date">Date</a> object representing the anniversary date of >jects/Date">Date</a> object representing the anniversary date of 
>the contact.>the contact. This will eventually be converted to a <code>long lo
 >ng</code> timestamp, therefore to stay compatible over time, you 
 >should use <code>var anniversary = +contact.anniversary</code> to
 > get and use a timestamp in your code.
t206        Allows to initialize the contact object. <strong>This mett209        Allows to initialize the contact object. <strong>This met
>hod has been removed in Firefox v1.3.</strong>>hod has been removed in Firefox v1.3.</strong> See <a href="/en-U
 >S/docs/WebAPI/Contacts" title="/en-US/docs/WebAPI/Contacts">Using
 > the Contact API</a> for a code sample that is compatible with al
 >l Firefox OS versions.

Back to History