K
K
Kirill Ushakov2017-05-26 14:43:07
CoffeeScript
Kirill Ushakov, 2017-05-26 14:43:07

Coffeescript and jQuery. Swears at jquery code?

When trying to compile it crashes into an error$(".slick").slick -> {}

:2:3: error: unexpected (
$(".slick").slick -> {}
 ^

It doesn't show anything in the search. Everywhere they write that such a design is viable. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2017-05-26
@alexey-m-ukolov

Everything works - js2.coffee/#coffee/try:%24(%22.slick%22).slick%20-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question