File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ if ("csQuery" in getroottable() && typeof ::csQuery == "table" )
33
44::csQuery <- {};
55
6- IncludeScript (" csQuery/QueryArray" )
6+ IncludeScript (" csQuery/QueryArray" );
77
88csQuery. SELECTOR <- {
99 CLASS = 46 , // .
@@ -32,15 +32,15 @@ local all = function() {
3232
3333function csQuery ::Find (query) : (findBy, all) {
3434 if (typeof query == " instance" )
35- return QueryArray ([ query] );
35+ return QueryArray ( query );
3636
3737 if (typeof query != " string" && typeof query != " integer" )
3838 throw " The parameter's data type is invalid (Valid Types: class instance, string, char)" ;
3939
40- local _selector = query[0 ];
40+ local selector = query[0 ];
4141 local body = query. slice (1 );
4242
43- switch (_selector ) {
43+ switch (selector ) {
4444 case SELECTOR. CLASS :
4545 return QueryArray ( findBy (Entities. FindByClassname , body) );
4646 case SELECTOR. TARGETNAME :
You can’t perform that action at this time.
0 commit comments