From c3412235a42f8c141a5775555a042528da1d3660 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Mon, 5 May 2014 09:18:46 +0200 Subject: [PATCH] chore(jshint): correct warning --- lib/draw/BpmnRenderer.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/draw/BpmnRenderer.js b/lib/draw/BpmnRenderer.js index 24607769..189ab4d4 100644 --- a/lib/draw/BpmnRenderer.js +++ b/lib/draw/BpmnRenderer.js @@ -970,6 +970,10 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) { function matches(definition, filter) { return _.all(filter, function(val, key) { + + // we want a == conversion here, to be able to catch + // undefined == false and friends + /* jshint -W116 */ return definition[key] == val; }); }