title: Jetbrains: Suppress unresolved variable error (sometimes)
body: <p>Within my web project I use jQuery.
  There is a function registered to jQuery click event.</p>
  
  <pre><code>toggleCalculationSelection : function(ev) {
    var src = typeof ev !== 'undefined' ? $(ev.target) : $('form.attribute input[name="calculation"][value="3"]');
  </code></pre>
  
  <p>jQuery delivers an event object with a target property.
  JetBrains Webstorms tells me, that <code>target</code> is an unresolved variable.</p>
  
  <p>I don't want to turn off this check completely.</p>
  
  <p>How can I either tell Jetbrains to ignore this error in this case or teach it, that jQuery has this property?</p>