export.js
//Add object to metadata, skipping duplicates.
Add object to metadata, skipping duplicates.
Add object to metadata skipping duplicates .
function addToMetdata(type, objects) {
	for (var obj of objects) {
		if (!objectExists(type, obj.id)) {
			if (!metaData[type]) metaData[type] = [];
			metaData[type].push(obj);
		}
	}
}
function addToMetdata ( type , objects ) { for ( var obj of objects ) { if ( ! objectExists ( type , obj . id ) ) { if ( ! metaData [ type ] ) metaData [ type ] = [ ] ; metaData [ type ] . push ( obj ) ; } } }
Add object to metadata, skipping duplicates.
Add object to metadata skipping duplicates .