src/core/resource-manager.js
function createReservation(resources, start, duration) {
    var end = start + (duration * later.MIN),
        reservation = {
          resources: resources,
          start: start,
          end: end,
          duration: duration,
          success: true
        };

    applyReservation(resources, start, end);
    return reservation;
  }
function createReservation(resources, start, duration) {
    var end = start + (duration * later.MIN),
        reservation = {
          resources: resources,
          start: start,
          end: end,
          duration: duration,
          success: true
        };

    applyReservation(resources, start, end);
    return reservation;
  }
function createReservation ( resources , start , duration ) { var end = start + ( duration * later . MIN ) , reservation = { resources : resources , start : start , end : end , duration : duration , success : true } ; applyReservation ( resources , start , end ) ; return reservation ; }
Generates a new reservation object and reserves the associated resources.
Generates a new reservation object and reserves the associated resources .