jquery/jquery-ui — pull request #964 by DaveStein (2013-04-24 14:39:27+00:00)
Title: Draggable: Corrected containment detection and handles array

`_setContainment` was going to assume jQuery if something was an array. Made sure that only a jquery object would have `offset` run on it.

Also seeing that containment is allowing an array, I added that into `_getContainer`. Otherwise it would jquery-ify a regular array.