opened
jd-carroll
username_0
Create `off` method to de-register from upstream events
issue
created
jd-carroll
username_0
I don't see why this is failing..
```
...
onScriptLoad@file:///home/travis/build/username_1/samsara/test/vendor/require.js:30:186: undefined is not an object (evaluating 'this.upstream[i].off')
```

Shouldn't all upstream objects have an `off`?
comment
created
dmvaldman
username_1
Found the problem. Thought I was the only one who messed up for loop expressions, but now there's two of us ;-)

Put up some more tests, and this PR (with the fixes) passes them. So looking forward to merging in the fixed version.
comment
created
jd-carroll
username_0
Should be all set.

The best is when I write syntactically correct loops from Java / .Net / JS in the wrong language...
comment