Sha256: f8190caec0d0407c00b9e04bf31dc6f891ebef445929b8d96129ddbdcb9adc6f

Contents?: true

Size: 226 Bytes

Versions: 1

Compression:

Stored size: 226 Bytes

Contents

var util={
	/*
		@param now, last are two objects, i.e. key-value pair sets.
	*/
	whoChanged: function(now, last){
		var ret={};
		$.each(now, function(i,v){
			if(last[i]!=v) {ret[i]=[v, last[i]];}
		});

		return ret;
	}

};

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ocp_registry-0.0.5.pre public/util.js