Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FullCalendar version to 3.10.5 #5100

Merged
merged 1 commit into from Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .meteor/packages
Expand Up @@ -148,7 +148,6 @@ shell-server@0.5.0
email@2.2.5
dynamic-import@0.7.3
cfs:gridfs
rzymek:fullcalendar
msavin:usercache
# Keep stylus in 1.1.0, because building v2 takes extra 52 minutes.
meteorhacks:subs-manager
Expand All @@ -175,3 +174,5 @@ kadira:blaze-layout
peerlibrary:blaze-components
ejson
logging
wekan-fullcalendar
momentjs:moment@2.29.3
3 changes: 3 additions & 0 deletions packages/meteor-fullcalendar/.gitignore
@@ -0,0 +1,3 @@
/nbproject/
.build*
.idea/
57 changes: 57 additions & 0 deletions packages/meteor-fullcalendar/README.md
@@ -0,0 +1,57 @@
[FullCalendar](http://fullcalendar.io/) JQuery plugin packaged for Meteor 1.0

### Instalation ###

meteor add rzymek:fullcalendar

### Usage ###

{{> fullcalendar }}

Options to FullCalendar can be passed as attributes:

{{> fullcalendar defaultView='agendaWeek'}}

If you want to have options defined in JS (or have them reactive), you can do:

<template name="example">
{{>fullcalendar options}}
</template>

Template.example.helpers({
options: function() {
return {
defaultView: 'basicWeek'
};
}
});

To access the `.fullcalendar` method assign an `id` or a `class` first

{{> fullcalendar id="myCalendar" ...}}

Then you can for example do

$('#myCalendar').fullCalendar('refetchEvents');

### Updating fullcalendar ###

To update fullcalendar version run

./update.sh
This will update to the newest fullcalendar's tag.
To update to a specific version do

./update.sh 2.2.6

If you want me to publish a new package version just [create an issue](https://github.com/rzymek/meteor-fullcalendar/issues/new).
In case you can't wait to use a new fullcalendar version in your project, you can update the package locally:

cd your_meteor_project
mkdir -p packages
git clone https://github.com/rzymek/meteor-fullcalendar packages/rzymek:fullcalendar
./packages/rzymek:fullcalendar/update.sh

After the desired version gets published just remove the local package:

rm -r packages/rzymek:fullcalendar