Combining Objects

One of the things I want to do with the image library is combine repositories from multiple people. I’ve been thinking it could be as simple as an array of each of the repositories and then running:

var combo = $.extend.apply( this, $.merge( [ true ], objects ) )

Later entries override earlier ones, so this means entries should be in order of reliability.

Leave a Reply

Your email address will not be published. Required fields are marked *