use more set literals

This commit is contained in:
Erik Krogh Kristensen
2022-01-20 14:35:59 +01:00
parent c09b6691e1
commit 3155114e36
19 changed files with 38 additions and 117 deletions

View File

@@ -385,12 +385,7 @@ private module JQueryClientRequest {
string name;
JQueryAjaxShortHand() {
(
name = "get" or
name = "getJSON" or
name = "getScript" or
name = "post"
) and
name = ["get", "getJSON", "getScript", "post"] and
this = jquery().getAMemberCall(name)
or
name = "load" and