index.js
function Floppy(url, fn) {
  if (!(this instanceof Floppy)) return new Floppy(url, fn);

  this.readyState = Floppy.LOADING;
  this.start = +new Date();
  this.callbacks = [];
  this.dependent = 0;
  this.cleanup = [];
  this.url = url;

  if ('function' === typeof fn) {
    this.add(fn);
  }
}
function Floppy(url, fn) {
  if (!(this instanceof Floppy)) return new Floppy(url, fn);

  this.readyState = Floppy.LOADING;
  this.start = +new Date();
  this.callbacks = [];
  this.dependent = 0;
  this.cleanup = [];
  this.url = url;

  if ('function' === typeof fn) {
    this.add(fn);
  }
}
function Floppy ( url , fn ) { if ( ! ( this instanceof Floppy ) ) return new Floppy ( url , fn ) ; this . readyState = Floppy . LOADING ; this . start = + new Date ( ) ; this . callbacks = [ ] ; this . dependent = 0 ; this . cleanup = [ ] ; this . url = url ; if ( 'function' === typeof fn ) { this . add ( fn ) ; } }
Representation of one single file that will be loaded.

@constructor
@param {String} url The file URL.
@param {Function} fn Optional callback.
@api private
Representation of one single file that will be loaded .