function noteclean(mtime) {
    view.flashNotification('Saved.');
    view.notePaneEditorCleanText(
        paneatpos('left'), newdata.data);
    if (modelatpos('left').filename == filename) {
      var oldmtime = modelatpos('left').data.mtime || 0;
      if (mtime) {
        modelatpos('left').data.mtime = Math.max(mtime, oldmtime);
      }
    }
    updateTopControls();
  }
// After a successful save, mark the file as clean and update mtime.
After a successful save, mark the file as clean and update mtime.
After a successful save mark the file as clean and update mtime .
function noteclean(mtime) {
    view.flashNotification('Saved.');
    view.notePaneEditorCleanText(
        paneatpos('left'), newdata.data);
    if (modelatpos('left').filename == filename) {
      var oldmtime = modelatpos('left').data.mtime || 0;
      if (mtime) {
        modelatpos('left').data.mtime = Math.max(mtime, oldmtime);
      }
    }
    updateTopControls();
  }
function noteclean ( mtime ) { view . flashNotification ( 'Saved.' ) ; view . notePaneEditorCleanText ( paneatpos ( 'left' ) , newdata . data ) ; if ( modelatpos ( 'left' ) . filename == filename ) { var oldmtime = modelatpos ( 'left' ) . data . mtime || 0 ; if ( mtime ) { modelatpos ( 'left' ) . data . mtime = Math . max ( mtime , oldmtime ) ; } } updateTopControls ( ) ; }
After a successful save, mark the file as clean and update mtime.
After a successful save mark the file as clean and update mtime .