News for hackers. Stuff that matters.
Re:Why Angular, Ember, or Backbone don't work for us. by tipiirai on Tuesday September 17, 2013 @06:39AM (#6398524)
This example from the docs seems quite heavy:

<button data-bind="click: function(data, event) { myFunction('param1', 'param2', data, event) }">

Feels a bit strange to define functions on the HTML code.

Re:Why Angular, Ember, or Backbone don't work for us. by lauripiispanen on Tuesday September 17, 2013 @07:10AM (#6398598)
If you look at the examples above it, they contain references to functions in scope. This particular example demonstrates that you can also do custom binding if you wish. Most often you don't.