/**
 * @description mixin if you need data from source support, calls the callback function as soon as the source is ready;
 */
pH8.Mixin.needsSource = {
	/**
	 * Call this function in your initializer
	 * @param {Function} callback The function to call on successful dictionary load
	 */
	waitForSource: function(source, callback){
		if(source.isLoaded()){
			callback();
		} else {
			document.observe("imagefeed:ready", callback);
		}
	}
}