title: Converting a button click to require.js style coding
body: <p>I'm getting lost with require.js.  Define always seems to return something in the require.js sample pages.</p>
  
  <p>How do i convert the following to require.js style coding?</p>
  
  <pre><code>$("button_1").click(function(event) {
      alert("button 1 has been clicked");
  });
  </code></pre>
  
  <p>As it <code>returns</code> nothing.</p>