title: Namespaced Custom Events Trigger
body: <p>I'm stumped on how namespaced custom events are supposed to work in jQuery. I got the impression from <a href="http://api.jquery.com/on/#event-names" rel="nofollow noreferrer">the doc</a> that triggering a namespaced custom event will only fire handlers specifically bound to that event. Instead, it seems the namespace is pretty much ignored. Example below and live code here: <a href="http://jsfiddle.net/kZCBw/1/" rel="nofollow noreferrer">http://jsfiddle.net/kZCBw/1/</a></p>
  
  <pre><code>    $(document)
          .bind("reset.one", function(){ console.log("reset.one event detected");})
          .bind("reset.two", function(){ console.log("reset.two event detected");})
          .bind("cheese", function(){ console.log("cheese event detected");});
  
          $("#btn1").click(function(){
              console.log("firing reset.one event");
              $(this).trigger("reset.one");
          });
          $("#btn2").click(function(){
              console.log("firing reset.two event");
              $(this).trigger("reset.two");
          });
          $("#btn3").click(function(){
              console.log("firing reset event");
              $(this).trigger("reset");
          });
  
          //btn1 click should only trigger handlers bound to "reset.one"
          //and yet it triggers anything starting w/ "reset"
  </code></pre>
  
  <p>What am I missing? </p>
  
  <p>Thanks in advance!
  -matt</p>