Provides methods to remove an array of elements from the DOM and inject them back to their original positions.
var myStorehouse = new Storehouse();
var elements = $$('div.apple');
myStorehouse.dispose(elements, 'apples');
// later
myStorehouse.inject('apples');
Disposes an array of elements and stores them with the class instance on the specified "shelf". One instance can store multiple shelves.
myStorehouse.dispose(elements, shelf);
This Storehouse instance.
Replaces the elements to their original positions.
myStorehouse.inject(shelf);