Pavel Pravosud
Pavel Pravosud
The problem with solutions mentioned in this Stack Overflow thread is that all of them are incomplete. The whole replace map is too huge to put into library directly and...
This is really bad. Will probably fix this later today. Thanks for the heads up.
Actually, I've just checked. Underscore.string still works fine and doesn't break any of native underscore tests. Also, Underscore does not even have splice method. So, check your Underscore version, it...
@edtsech oh, this might be the case. Will investigate today.
@pgherveou how do you attach underscore.string? I couldn't reproduce this issue in the lastest versions of underscore and underscore.string. `_([1, 2, 3]).splice(0, 1) # => [2, 3]`
@pgherveou ah, ok, I got it. There is not easy way to fix that right now. I might recommend you try to using underscore.string separately as it described in README.
This actually makes sense to me. Will think about introducing these changes in next major release. /cc @epeli @edtsech
Same error on MRI 2.2.4
Another thing is that splat doesn't work around super. For instance: ``` coffee class MyClass myMethod: -> @otherMethod arguments... ``` translates into ``` javascript return this.otherMethod.apply(null, [].slice.call(arguments)); ``` but `super...