asciidisco / asciidisco/Backbone.Rpc

Error: bindAll must be passed function names

Open
#17 5 comments 0 reactions 1 assignee Claimed by @asciidisco View on GitHub
bug
Dominant language
JavaScript
Stars
50
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Immediately ran into this issue when calling new Backbone.Rpc(). I'm using underscore.js v1.5.2, which throws an exception with the following code (found in Backbone.Rpc).

```
// fix issue with the loss of this
_.bindAll(this);
```

I suspect this code isn't actually accomplishing anything. See the docs for what bindAll does and you'll see that it requires function names to be passed in to actually do anything. http://underscorejs.org/#bindAll

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.