Prinzhorn / skrollr

Stand-alone parallax scrolling library for mobile (Android + iOS) and desktop. No jQuery. Just plain JavaScript (and some love).
http://prinzhorn.github.io/skrollr/
MIT License
18.53k stars 3.51k forks source link

Make isMobile public in Global API #824

Open dogancelik opened 8 years ago

dogancelik commented 8 years ago

Default function for isMobile should be included in Public API. We are only making the default function public, everything stays same. If user defines a custom function inside init(), it will respect that decision as usual.

(This change is a request, it's not required but it may help people if they don't want to copy&paste the exact function or use extra libraries for Mobile detection)