web/firebase/index.js
/**
 * Receives a file InputEvent event and forwards the received input picture to Firebase
 * and other parts of the program.
 * @param {InputEvent} inputEvent - the file event used to access the file information
 */
Receives a file InputEvent event and forwards the received input picture to Firebase
and other parts of the program.
@param {InputEvent} inputEvent - the file event used to access the file information
Receives a file InputEvent event and forwards the received input picture to Firebase and other parts of the program . @param { InputEvent } inputEvent - the file event used to access the file information
function handleFileSelect(inputEvent) {
  inputEvent.stopPropagation(); 
  inputEvent.preventDefault(); 
  pushFileToFirebase(inputEvent.target.files[0]);
}
function handleFileSelect ( inputEvent ) { inputEvent . stopPropagation ( ) ; inputEvent . preventDefault ( ) ; pushFileToFirebase ( inputEvent . target . files [ 0 ] ) ; }
Receives a file InputEvent event and forwards the received input picture to Firebase
 and other parts of the program.
Receives a file InputEvent event and forwards the received input picture to Firebase and other parts of the program .
// prevents other nodes from receiving this event // prevents default results when no action is taken