mkhairi / materialize-sass

Materializecss rubygem for Rails Asset Pipeline / Sprockets
http://materialize.labs.my/
MIT License
806 stars 243 forks source link

remove ; in front of (function(){ #152

Closed drevantonder closed 7 years ago

drevantonder commented 7 years ago

I am using this gem in my project. When I try to do $(".timepicker").pickatime() I get an error Uncaught TypeError: $(...).pickatime is not a function So I looked at the file(app/assets/javascripts/materialize/date_picker/picker.time.js) and saw an semicolon in front of (function(){ That I think should not be there.

drevantonder commented 7 years ago

Just noticed this is the same as https://github.com/Dogfalo/materialize/blob/master/js/date_picker/picker.time.js