Skip to content

Commit

Permalink
Fixed missing commas and semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
biohzrdmx committed Jul 28, 2014
1 parent 9611304 commit 91faeec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions js/jquery.datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
datePicker.on('click', '.calendar .prev', function(e) {
e.preventDefault();
var el = $(this),
calendar = el.closest('.calendar')
calendar = el.closest('.calendar'),
current = calendar.find('.month'),
month = current.data('month'),
year = current.data('year');
Expand Down Expand Up @@ -298,7 +298,7 @@
datePicker.on('click', '.calendar .next', function(e) {
e.preventDefault();
var el = $(this),
calendar = el.closest('.calendar')
calendar = el.closest('.calendar'),
current = calendar.find('.month'),
month = current.data('month'),
year = current.data('year');
Expand Down Expand Up @@ -327,7 +327,7 @@
datePicker.on('click', '.months .month', function(e) {
e.preventDefault();
var el = $(this),
months = el.closest('.months')
months = el.closest('.months'),
month = el.data('month'),
year = el.data('year'),
calendar = datePicker.children('.calendar'),
Expand All @@ -341,7 +341,7 @@
selected.month = month;
// Replace
replacement = $.datePicker.utils.buildCalendar(year, month, date);
replacement.hide()
replacement.hide();
calendar.replaceWith(replacement);
// Animate
months.fadeOut(150, function() {
Expand All @@ -351,7 +351,7 @@
datePicker.on('click', '.months .prev', function(e) {
e.preventDefault();
var el = $(this),
months = el.closest('.months')
months = el.closest('.months'),
current = months.find('.year'),
year = current.data('year');
if ( el.hasClass('disabled') ) {
Expand All @@ -373,7 +373,7 @@
datePicker.on('click', '.months .next', function(e) {
e.preventDefault();
var el = $(this),
months = el.closest('.months')
months = el.closest('.months'),
current = months.find('.year'),
year = current.data('year');
if ( el.hasClass('disabled') ) {
Expand Down Expand Up @@ -436,7 +436,7 @@
datePicker.on('click', '.years .prev', function(e) {
e.preventDefault();
var el = $(this),
years = el.closest('.years')
years = el.closest('.years'),
current = years.find('.decade'),
decade = current.data('decade');
if ( el.hasClass('disabled') ) {
Expand All @@ -458,7 +458,7 @@
datePicker.on('click', '.years .next', function(e) {
e.preventDefault();
var el = $(this),
years = el.closest('.years')
years = el.closest('.years'),
current = years.find('.decade'),
decade = current.data('decade');
if ( el.hasClass('disabled') ) {
Expand Down Expand Up @@ -514,7 +514,7 @@
datePicker.on('click', '.decades .prev', function(e) {
e.preventDefault();
var el = $(this),
decades = el.closest('.decades')
decades = el.closest('.decades'),
current = decades.find('.century'),
century = current.data('century');
if ( el.hasClass('disabled') ) {
Expand All @@ -534,7 +534,7 @@
datePicker.on('click', '.decades .next', function(e) {
e.preventDefault();
var el = $(this),
decades = el.closest('.decades')
decades = el.closest('.decades'),
current = decades.find('.century'),
century = current.data('century');
if ( el.hasClass('disabled') ) {
Expand Down
Loading

0 comments on commit 91faeec

Please sign in to comment.