We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
lib/select.js
1 parent d7c1434 commit e895efdCopy full SHA for e895efd
src/lib/select.js
@@ -91,15 +91,15 @@ select.multiTester = function multiTester(list) {
91
* @return {boolean} true if point is considered to be selected, false otherwise.
92
*/
93
function contains(pt, arg, pointNumber, searchInfo) {
94
- var yes = false;
+ var contained = false;
95
for(var i = 0; i < testers.length; i++) {
96
if(testers[i].contains(pt, arg, pointNumber, searchInfo)) {
97
// if contained by subtract tester - exclude the point
98
- yes = testers[i].subtract === false;
+ contained = testers[i].subtract === false;
99
}
100
101
102
- return yes;
+ return contained;
103
104
105
return {
0 commit comments