function createRecordForThisApp(id, addonId, enabled, deleted) {
  return {
    id:            id,
    addonID:       addonId,
    enabled:       enabled,
    deleted:       !!deleted,
    applicationID: Services.appinfo.ID,
    source:        "amo"
  };
}
/**
 * Create a AddonsRec for this application with the fields specified.
 *
 * @param  id       Sync GUID of record
 * @param  addonId  ID of add-on
 * @param  enabled  Boolean whether record is enabled
 * @param  deleted  Boolean whether record was deleted
 */
Create a AddonsRec for this application with the fields specified.
@param  id       Sync GUID of record
@param  addonId  ID of add-on
@param  enabled  Boolean whether record is enabled
@param  deleted  Boolean whether record was deleted
Create a AddonsRec for this application with the fields specified . @param id Sync GUID of record @param addonId ID of add - on @param enabled Boolean whether record is enabled @param deleted Boolean whether record was deleted
function createRecordForThisApp(id, addonId, enabled, deleted) {
  return {
    id:            id,
    addonID:       addonId,
    enabled:       enabled,
    deleted:       !!deleted,
    applicationID: Services.appinfo.ID,
    source:        "amo"
  };
}
function createRecordForThisApp ( id , addonId , enabled , deleted ) { return { id : id , addonID : addonId , enabled : enabled , deleted : ! ! deleted , applicationID : Services . appinfo . ID , source : "amo" } ; }
Create a AddonsRec for this application with the fields specified.
Create a AddonsRec for this application with the fields specified .