You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However OMS is not valid coffeescript. I assume this is due to some coffee language update. The code either needs to be updated to current coffeescript standards and/or include a coffee compiler version specification.
(return i if o is obj) for o, i in arr
[stdin]:3:6: error: cannot use a pure statement in an expression
(return i if o is obj) for o, i in arr
^^^^^^^^
It appears this library has not been ported to support coffeescript 2.x. It compiles properly with coffeescript 1.12.7. Install with: npm install --global [email protected]
build script just calls $ coffee [...]
However OMS is not valid coffeescript. I assume this is due to some coffee language update. The code either needs to be updated to current coffeescript standards and/or include a coffee compiler version specification.
https://coffeescript.org/#try:%20%20p.arrIndexOf%20%3D%20(arr%2C%20obj)%20-%3E%20%0A%20%20%20%20return%20arr.indexOf(obj)%20if%20arr.indexOf%3F%0A%20%20%20%20(return%20i%20if%20o%20is%20obj)%20for%20o%2C%20i%20in%20arr%0A%20%20%20%20-1
The text was updated successfully, but these errors were encountered: