index.js
function updatedec(){
  var dec = decinputfield;
  if(decinputvalue != dec){
    updateall(decinputtobin(dec));
    clearallinputs();
    decinputfield = dec;
    decinputvalue = dec;
  }
}
function updatedec(){
  var dec = decinputfield;
  if(decinputvalue != dec){
    updateall(decinputtobin(dec));
    clearallinputs();
    decinputfield = dec;
    decinputvalue = dec;
  }
}
function updatedec ( ) { var dec = decinputfield ; if ( decinputvalue != dec ) { updateall ( decinputtobin ( dec ) ) ; clearallinputs ( ) ; decinputfield = dec ; decinputvalue = dec ; } }
The decimal input field has been changed
The decimal input field has been changed