public/js/filereader.js
// addClass: add the css class for the element.
add the css class for the element.
add the css class for the element .
function addClass(el, name) {
        if (!hasClass(el, name)) {
          el.className = el.className ? [el.className, name].join(' ') : name;
        }
    }
function addClass ( el , name ) { if ( ! hasClass ( el , name ) ) { el . className = el . className ? [ el . className , name ] . join ( ' ' ) : name ; } }
addClass: add the css class for the element.
addClass : add the css class for the element .