B2G/gaia/apps/camera/js/filmstrip.js
// forget all of our state. This also exits preview mode if we're in it.
forget all of our state. This also exits preview mode if we're in it.
forget all of our state . This also exits preview mode if we ' re in it .
function clear() {
    if (!preview.classList.contains('offscreen'))
      returnToCameraMode();
    items.forEach(function(item) {
      filmstrip.removeChild(item.element);
      URL.revokeObjectURL(item.element.src);
    });
    items.length = 0;
  }
function clear ( ) { if ( ! preview . classList . contains ( 'offscreen' ) ) returnToCameraMode ( ) ; items . forEach ( function ( item ) { filmstrip . removeChild ( item . element ) ; URL . revokeObjectURL ( item . element . src ) ; } ) ; items . length = 0 ; }
forget all of our state.
forget all of our state .