cujojs / wire

A light, fast, flexible Javascript IOC container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compose ignores args beyond the first

briancavalier opened this issue · comments

Example:

thing: {
  composed: { compose: 'f1 | f2' }
}

If you call thing.composed(a, b, c), f1 will be called like this: f1(a), which is obviously wrong.

Just tested this in my own code after applying the patch, and all works as designed. :)

Awesome, thanks for confirming. Closing, will be released in 0.9.1.