apps/homescreen/js/grid.js
/*
   * Process an Application object as retrieved from the
   * navigator.mozApps.mgmt API (or a Bookmark object) and create
   * corresponding icon(s) for it (an app can have multiple entry
   * points, each one is represented as an icon.)
   */
Process an Application object as retrieved from the
navigator.mozApps.mgmt API (or a Bookmark object) and create
corresponding icon(s) for it (an app can have multiple entry
points, each one is represented as an icon.)
Process an Application object as retrieved from the navigator . mozApps . mgmt API ( or a Bookmark object ) and create corresponding icon ( s ) for it ( an app can have multiple entry points each one is represented as an icon . )
function processApp(app, callback) {
    if (HIDDEN_APPS.indexOf(app.manifestURL) != -1)
      return;
    appsByOrigin[app.origin] = app;
    var manifest = app.manifest ? app.manifest : app.updateManifest;
    if (!manifest)
      return;
    var entryPoints = manifest.entry_points;
    if (!entryPoints || manifest.type != 'certified') {
      createOrUpdateIconForApp(app);
      return;
    }
    for (var entryPoint in entryPoints) {
      if (!entryPoints[entryPoint].icons)
        continue;
      createOrUpdateIconForApp(app, entryPoint);
    }
  }
function processApp ( app , callback ) { if ( HIDDEN_APPS . indexOf ( app . manifestURL ) != - 1 ) return ; appsByOrigin [ app . origin ] = app ; var manifest = app . manifest ? app . manifest : app . updateManifest ; if ( ! manifest ) return ; var entryPoints = manifest . entry_points ; if ( ! entryPoints || manifest . type != 'certified' ) { createOrUpdateIconForApp ( app ) ; return ; } for ( var entryPoint in entryPoints ) { if ( ! entryPoints [ entryPoint ] . icons ) continue ; createOrUpdateIconForApp ( app , entryPoint ) ; } }
Process an Application object as retrieved from the
 navigator.mozApps.mgmt API (or a Bookmark object) and create
 corresponding icon(s) for it (an app can have multiple entry
 points, each one is represented as an icon.)
Process an Application object as retrieved from the navigator . mozApps . mgmt API ( or a Bookmark object ) and create corresponding icon ( s ) for it ( an app can have multiple entry points each one is represented as an icon . )
// Ignore system apps.