mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Cleaned up
This commit is contained in:
parent
328514ae63
commit
28e61dbf48
1 changed files with 4 additions and 2 deletions
|
@ -109,8 +109,10 @@ class Scratch3OperatorsBlocks {
|
||||||
}
|
}
|
||||||
|
|
||||||
contains (args) {
|
contains (args) {
|
||||||
return Cast.toString(args.STRING1).toLowerCase()
|
const format = function (string) {
|
||||||
.includes(Cast.toString(args.STRING2).toLowerCase());
|
return Cast.toString(string).toLowerCase()
|
||||||
|
}
|
||||||
|
return format(args.STRING1).includes(format(args.STRING2))
|
||||||
}
|
}
|
||||||
|
|
||||||
mod (args) {
|
mod (args) {
|
||||||
|
|
Loading…
Reference in a new issue