index.js
function updatehex(){
  var hex = hexinputfield;
  if(hexinputvalue != hex){
    updateall(hexinputtobin(hex));
    clearallinputs();
    hexinputfield = hex;
    hexinputvalue = hex;
  }
}
function updatehex(){
  var hex = hexinputfield;
  if(hexinputvalue != hex){
    updateall(hexinputtobin(hex));
    clearallinputs();
    hexinputfield = hex;
    hexinputvalue = hex;
  }
}
function updatehex ( ) { var hex = hexinputfield ; if ( hexinputvalue != hex ) { updateall ( hexinputtobin ( hex ) ) ; clearallinputs ( ) ; hexinputfield = hex ; hexinputvalue = hex ; } }
The hexadecimal input field has been changed
The hexadecimal input field has been changed