Skip to content

SandersForPresident/bernie-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bernie Calendar

To install

1. Install the bower package

bower install [email protected]:SandersForPresident/bernie-calendar.git

note: this will later be updated to bernie-calendar

2. Link the files to the project and their dependencies

<link rel="stylesheet" type="text/css" href="bower_components/fullcalendar/dist/fullcalendar.css" />
<link rel="stylesheet" type="text/css" href="bower_components/bernie-calendar/dist/bernie-calendar.css" />
<script type="text/javascript" src="bower_components/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="bower_components/lodash/lodash.js"></script>
<script type="text/javascript" src="bower_components/moment/moment.js"></script>
<script type="text/javascript" src="bower_components/fullcalendar/dist/fullcalendar.js"></script>
<script type="text/javascript" src="bower_components/bernie-calendar/dist/bernie-calendar.js"></script>

3. Try it out

<div id="calendar"></div>
<script type="text/javascript">
$(document).ready(function () {
  $('#calendar').bernieCalendar();
});
</script>

Options

{
  maxEvents: Integer
}

options.maxEvents

The maximum number of events to display on a given calendar day

note: more options coming soon

To build

Install the dependencies

bower install
npm install

To compile

gulp build

About

jQuery plugin for Bernie Sanders calendar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published