serpentem/theoricus — pull request #75 by giuliandrimba (2013-08-06 02:24:45+00:00)
Title: View's "on_resize" method error

The `on_resize` method is throwing the error:

``` javascript
Uncaught TypeError: Object [object global] has no method 'on_resize'
```

At the line:
![screen shot 2013-08-05 at 11 16 08 pm](https://f.cloud.github.com/assets/265065/914537/35a1dca8-fe3e-11e2-8ef7-ad7535e7a090.png)

The `@on_resize` scope is pointing to the global object.

What is the purpose of binding the `resize` event with the `@_on_resize` method instead of `@on_resize`? It can bind the `resize` method directly to `@on_resize`.