Commit aeea0069 authored by yann300's avatar yann300

remove double negation

parent daaddd48
...@@ -120,7 +120,7 @@ class ContextualListener { ...@@ -120,7 +120,7 @@ class ContextualListener {
_getFn (functions, name) { _getFn (functions, name) {
for (var x in functions) { for (var x in functions) {
if (!!~functions[x].indexOf(name)) { if (~functions[x].indexOf(name)) {
var fn = functions[x] var fn = functions[x]
break break
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment