(keys)
| 292 | } else { |
| 293 | var key = crosstalkOptions.key; |
| 294 | function keysToMatches(keys) { |
| 295 | if (!keys) { |
| 296 | return null; |
| 297 | } else { |
| 298 | var selectedKeys = {}; |
| 299 | for (var i = 0; i < keys.length; i++) { |
| 300 | selectedKeys[keys[i]] = true; |
| 301 | } |
| 302 | var matches = {}; |
| 303 | for (var j = 0; j < key.length; j++) { |
| 304 | if (selectedKeys[key[j]]) |
| 305 | matches[j] = true; |
| 306 | } |
| 307 | return matches; |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | function applyCrosstalkFilter(e) { |
| 312 | $table[0].ctfilter = keysToMatches(e.value); |
no outgoing calls
no test coverage detected