mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Merge branch 'master' of https://github.com/codecombat/codecombat
This commit is contained in:
commit
52eae882e8
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ module.exports.scriptMatchesEventPrereqs = scriptMatchesEventPrereqs = (script,
|
|||
return false if ap.greaterThanOrEqualTo? and not (v >= ap.greaterThanOrEqualTo)
|
||||
return false if ap.lessThan? and not (v < ap.lessThan)
|
||||
return false if ap.lessThanOrEqualTo? and not (v <= ap.lessThanOrEqualTo)
|
||||
return false if ap.containingString? and v.search(ap.containingString) == -1
|
||||
return false if ap.notContainingString? and v.search(ap.containingString) != -1
|
||||
return false if ap.containingString? and v?.search(ap.containingString) == -1
|
||||
return false if ap.notContainingString? and v?.search(ap.containingString) != -1
|
||||
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue