export.js
//Checks if an item with the given type and id is custom, in which case we ignore validation issues 
Checks if an item with the given type and id is custom, in which case we ignore validation issues
Checks if an item with the given type and id is custom in which case we ignore validation issues
function customObject(objType, objId) {
	customObjectsExported[objType] = true;
	if (!currentExport.hasOwnProperty("customObjects")) return false;
	for (var obj of currentExport.customObjects) {
		if (obj.objectType == objType) {
			for (var id of obj.objectIds) {
				if (id == objId) return true;
			}
		}
	}
	return false;
}
function customObject ( objType , objId ) { customObjectsExported [ objType ] = true ; if ( ! currentExport . hasOwnProperty ( "customObjects" ) ) return false ; for ( var obj of currentExport . customObjects ) { if ( obj . objectType == objType ) { for ( var id of obj . objectIds ) { if ( id == objId ) return true ; } } } return false ; }
Checks if an item with the given type and id is custom, in which case we ignore validation issues
Checks if an item with the given type and id is custom in which case we ignore validation issues