File uploading and fixes #261
@@ -12,19 +12,19 @@ const props = defineProps({
 | 
				
			|||||||
function getDiffEntry(toolVersion : String) : string[] {
 | 
					function getDiffEntry(toolVersion : String) : string[] {
 | 
				
			||||||
    if ( props.toolName == "xpath" ){
 | 
					    if ( props.toolName == "xpath" ){
 | 
				
			||||||
        switch(toolVersion){
 | 
					        switch(toolVersion){
 | 
				
			||||||
        case "2.0" : {
 | 
					            case "2.0" : {
 | 
				
			||||||
            return xpathDiffs.VersionDiffs[0].diffs
 | 
					                return xpathDiffs.VersionDiffs[0].diffs
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            case "3.0" : {
 | 
				
			||||||
 | 
					                return xpathDiffs.VersionDiffs[1].diffs
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            case "3.1" : {
 | 
				
			||||||
 | 
					                return xpathDiffs.VersionDiffs[2].diffs
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            default: {
 | 
				
			||||||
 | 
					                return xpathDiffs.VersionDiffs[2].diffs
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        case "3.0" : {
 | 
					 | 
				
			||||||
            return xpathDiffs.VersionDiffs[1].diffs
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        case "3.1" : {
 | 
					 | 
				
			||||||
            return xpathDiffs.VersionDiffs[2].diffs
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        default: {
 | 
					 | 
				
			||||||
            return xpathDiffs.VersionDiffs[2].diffs
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    } else if (props.toolName == "xslt") {
 | 
					    } else if (props.toolName == "xslt") {
 | 
				
			||||||
        return ["XSLT 2.0"].concat(xsltDiffs.VersionDiffs[0].diffs).concat(["XSLT 3.0"]).concat(xsltDiffs.VersionDiffs[1].diffs) ;
 | 
					        return ["XSLT 2.0"].concat(xsltDiffs.VersionDiffs[0].diffs).concat(["XSLT 3.0"]).concat(xsltDiffs.VersionDiffs[1].diffs) ;
 | 
				
			||||||
    } else{
 | 
					    } else{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user