lib/FrameUtils.js
function intersects (frame, otherFrame) {
  return !(otherFrame.x > frame.x + frame.width ||
           otherFrame.x + otherFrame.width < frame.x ||
           otherFrame.y > frame.y + frame.height ||
           otherFrame.y + otherFrame.height < frame.y);
}
function intersects (frame, otherFrame) {
  return !(otherFrame.x > frame.x + frame.width ||
           otherFrame.x + otherFrame.width < frame.x ||
           otherFrame.y > frame.y + frame.height ||
           otherFrame.y + otherFrame.height < frame.y);
}
function intersects ( frame , otherFrame ) { return ! ( otherFrame . x > frame . x + frame . width || otherFrame . x + otherFrame . width < frame . x || otherFrame . y > frame . y + frame . height || otherFrame . y + otherFrame . height < frame . y ) ; }
Determine if 2 frames intersect each other

@param {Frame} frame
@param {Frame} otherFrame
@return {Boolean}
Determine if 2 frames intersect each other