Skip to content

Commit

Permalink
Merge pull request #8 from aksonnic/return_calendar
Browse files Browse the repository at this point in the history
Return the calendar object on creation.
  • Loading branch information
Paul-DS committed Jan 30, 2016
2 parents 8625931 + 2f8fac9 commit 752919a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/bootstrap-year-calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@
$.fn.calendar = function (options) {
var calendar = new Calendar($(this) ,options);
$(this).data('calendar', calendar);
return calendar;
}

/* Events binding management */
Expand Down
Loading

0 comments on commit 752919a

Please sign in to comment.