title: Inline onclick handler does not work
body: <p>I want to use INLINE callback function so, I have the following html markup:</p>
  
  <pre><code>    var callback = function (index) {
          return function () {
              return action.delete({
                  index: index
              })
          }
      }
      var markup = items.map(function (item, index) {
          return ('&lt;button onclick="return ' + callback(index) + ';"&gt;Delete&lt;/button&gt;')
      }).join('\n') 
  
      document.getElementById('main').innerHTML = markup
  </code></pre>
  
  <p>But when I click on the button, my callback does not work. What's wrong with the code above? Thanks.</p>