Mevrael / bunny

BunnyJS - Lightweight native (vanilla) JavaScript (JS) and ECMAScript 6 (ES6) browser library, package of small stand-alone components without dependencies: FormData, upload, image preview, HTML5 validation, Autocomplete, Dropdown, Calendar, Datepicker, Ajax, Datatable, Pagination, URL, Template engine, Element positioning, smooth scrolling, routing, inversion of control and more. Simple syntax and architecture. Next generation jQuery and front-end framework. Documentation and examples available.
https://bunnyjs.com
MIT License
486 stars 39 forks source link

Fix: Calendar. Set displayedMonthIndex. #7

Closed ryaza closed 7 years ago

ryaza commented 7 years ago

Hello!

After month change via select displayedMonthIndex became string value instead number. It generates errors in another parts of calendar (Calendar.changeMonth)

Mevrael commented 7 years ago

Hi @ryaza

Thanks for PR! Merged.

This Calendar is so old. I am going to update it and add select range (from-to) support. But that probably will be after 1.0.

What is your experience on using BunnyJS so far? If you have any ideas or feedback, please, let me know, thanks!