index.js
function Sweep(actor, context) {
  this.actor = actor;
  this.context = context;
  this.prev = context.actors[actor] || {};
  this.resources = context.actors[actor] = {};
}
function Sweep(actor, context) {
  this.actor = actor;
  this.context = context;
  this.prev = context.actors[actor] || {};
  this.resources = context.actors[actor] = {};
}
function Sweep ( actor , context ) { this . actor = actor ; this . context = context ; this . prev = context . actors [ actor ] || { } ; this . resources = context . actors [ actor ] = { } ; }
Create a sweep instance

@param {String} actor
@param {Object} prev
@param {Context} context
Create a sweep instance