title: Why is this coffeescript not compiling "correctly"?
body: <p>I have the following in a Rails app:</p>
  
  <pre><code># projects.js.coffee
  jQuery -&gt;
    $('#project_title').typing -&gt;
      start: (event, element) -&gt;
        element.css 'background', '#fa0'
  
      stop: (event, element) -&gt;
        element.css 'background', '#f00'
        alert 'send request to populate samples'
  
      delay: 400
  </code></pre>
  
  <p>However, in the compiled js file I'm getting the following:</p>
  
  <pre><code>(function() {
  
    jQuery(function() {
      return $('#sprinkler_word').typing(function() {
        ({
          start: function(event, element) {
            return element.css('background', '#fa0');
          },
          stop: function(event, element) {
            return element.css('background', '#f00');
          }
        });
        alert('send request to populate sprinkle samples');
        return {
          delay: 400
        };
      });
    });
  
  }).call(this);
  </code></pre>
  
  <p>Why is the "alert" call not being included in the "stop" function? I assume my syntax is incorrect, but I can't see where. Thanks.</p>