Droplet.define('gallery', ['item'], function(){
	
	var self = this;

	self.on('load', function(){
		self.$droplet.on('click', '.item', function(){
			$(this).toggleClass('selected');
		});
	});

	self.on('set', function(data){
		Droplet.appendList(self, self.$items, 'item', data.items);
	});

	self.on('test', function(){
		$.get('//beta.json-generator.com/api/json/get/N16M8W6ox', function(data){
			self.set(data).show();
		});
	})

});
Droplet.define('gallery', ['item'], function(){
	
	var self = this;

	self.on('load', function(){
		self.$droplet.on('click', '.item', function(){
			$(this).toggleClass('selected');
		});
	});

	self.on('set', function(data){
		Droplet.appendList(self, self.$items, 'item', data.items);
	});

	self.on('test', function(){
		$.get('http://beta.json-generator.com/api/json/get/N16M8W6ox', function(data){
			self.set(data).show();
		});
	})

});
Set unsecure url for mockup
Set unsecure url for mockup
