Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
AUI-1133 - Build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Mak committed Feb 7, 2014
1 parent 51ab029 commit 20107b2
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 21 deletions.
2 changes: 1 addition & 1 deletion build/aui-datepicker/aui-datepicker-base-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,4 @@ A.DatepickerManager = new A.OverlayManager({
zIndexBase: 1000
});

}, '@VERSION@' ,{skinnable:true, requires:['aui-calendar','aui-overlay-context']});
}, '@VERSION@' ,{requires:['aui-calendar','aui-overlay-context'], skinnable:true});
2 changes: 1 addition & 1 deletion build/aui-datepicker/aui-datepicker-base-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/aui-datepicker/aui-datepicker-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,4 @@ A.DatepickerManager = new A.OverlayManager({
zIndexBase: 1000
});

}, '@VERSION@' ,{skinnable:true, requires:['aui-calendar','aui-overlay-context']});
}, '@VERSION@' ,{requires:['aui-calendar','aui-overlay-context'], skinnable:true});
9 changes: 5 additions & 4 deletions build/aui-datepicker/aui-datepicker-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ A.DatepickerManager = new A.OverlayManager({
zIndexBase: 1000
});

}, '@VERSION@' ,{skinnable:true, requires:['aui-calendar','aui-overlay-context']});
}, '@VERSION@' ,{requires:['aui-calendar','aui-overlay-context'], skinnable:true});
AUI.add('aui-datepicker-select', function(A) {
/**
* The DatePickerSelect Utility
Expand Down Expand Up @@ -807,7 +807,8 @@ var DatePickerSelect = A.Component.create(

var target = event.currentTarget || event.target;

var monthChanged = target.test(DOT+CSS_DATEPICKER_MONTH);
var monthChanged = target.test(DOT + CSS_DATEPICKER_MONTH);
var yearChanged = target.test(DOT + CSS_DATEPICKER_YEAR);

var currentDay = instance.get(DAY_NODE).val();
var currentMonth = instance.get(MONTH_NODE).val();
Expand All @@ -829,7 +830,7 @@ var DatePickerSelect = A.Component.create(
instance.calendar.set(CURRENT_YEAR, currentYear);
}

if (monthChanged) {
if (monthChanged || yearChanged) {
instance._uiSetCurrentMonth();

if (validDay) {
Expand Down Expand Up @@ -1183,7 +1184,7 @@ var DatePickerSelect = A.Component.create(

A.DatePickerSelect = DatePickerSelect;

}, '@VERSION@' ,{skinnable:true, requires:['aui-datepicker-base','aui-button-item']});
}, '@VERSION@' ,{requires:['aui-datepicker-base','aui-button-item'], skinnable:true});


AUI.add('aui-datepicker', function(A){}, '@VERSION@' ,{skinnable:true, use:['aui-datepicker-base','aui-datepicker-select']});
Expand Down
4 changes: 2 additions & 2 deletions build/aui-datepicker/aui-datepicker-min.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions build/aui-datepicker/aui-datepicker-select-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,8 @@ var DatePickerSelect = A.Component.create(

var target = event.currentTarget || event.target;

var monthChanged = target.test(DOT+CSS_DATEPICKER_MONTH);
var monthChanged = target.test(DOT + CSS_DATEPICKER_MONTH);
var yearChanged = target.test(DOT + CSS_DATEPICKER_YEAR);

var currentDay = instance.get(DAY_NODE).val();
var currentMonth = instance.get(MONTH_NODE).val();
Expand All @@ -565,7 +566,7 @@ var DatePickerSelect = A.Component.create(
instance.calendar.set(CURRENT_YEAR, currentYear);
}

if (monthChanged) {
if (monthChanged || yearChanged) {
instance._uiSetCurrentMonth();

if (validDay) {
Expand Down Expand Up @@ -919,4 +920,4 @@ var DatePickerSelect = A.Component.create(

A.DatePickerSelect = DatePickerSelect;

}, '@VERSION@' ,{skinnable:true, requires:['aui-datepicker-base','aui-button-item']});
}, '@VERSION@' ,{requires:['aui-datepicker-base','aui-button-item'], skinnable:true});
4 changes: 2 additions & 2 deletions build/aui-datepicker/aui-datepicker-select-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions build/aui-datepicker/aui-datepicker-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,8 @@ var DatePickerSelect = A.Component.create(

var target = event.currentTarget || event.target;

var monthChanged = target.test(DOT+CSS_DATEPICKER_MONTH);
var monthChanged = target.test(DOT + CSS_DATEPICKER_MONTH);
var yearChanged = target.test(DOT + CSS_DATEPICKER_YEAR);

var currentDay = instance.get(DAY_NODE).val();
var currentMonth = instance.get(MONTH_NODE).val();
Expand All @@ -565,7 +566,7 @@ var DatePickerSelect = A.Component.create(
instance.calendar.set(CURRENT_YEAR, currentYear);
}

if (monthChanged) {
if (monthChanged || yearChanged) {
instance._uiSetCurrentMonth();

if (validDay) {
Expand Down Expand Up @@ -919,4 +920,4 @@ var DatePickerSelect = A.Component.create(

A.DatePickerSelect = DatePickerSelect;

}, '@VERSION@' ,{skinnable:true, requires:['aui-datepicker-base','aui-button-item']});
}, '@VERSION@' ,{requires:['aui-datepicker-base','aui-button-item'], skinnable:true});
Loading

0 comments on commit 20107b2

Please sign in to comment.