Displaying 1 result from an estimated 1 matches for "easyslider".
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I
used this functions
$(''#events a'').lightBox()
$(document).ready ->
  $("#slider").easySlider
    auto: true,
    continuous: true
they load inside application.js like this
(function() {
  $(''#events a'').lightBox();
  $(document).ready(function() {
    $("#slider").easySlider({
      auto: true,
      continuous: true
    });
});
but it doesnt seems to work, a...