Generate dist files - ready for testing

This commit is contained in:
sean kenny
2014-08-13 12:43:39 +01:00
parent 3b6af88add
commit 4e17e21086
3 changed files with 7 additions and 21 deletions
+4 -18
View File
@@ -5691,11 +5691,11 @@ setDefaults({
axisFormat: generateAgendaAxisFormat,
timeFormat: {
agenda: generateAgendaTimeFormat
resource: generateAgendaTimeFormat
},
dragOpacity: {
agenda: .5
resource: .5
},
minTime: '00:00:00',
maxTime: '24:00:00',
@@ -5703,20 +5703,6 @@ setDefaults({
});
// function generateAgendaAxisFormat(options, langData) {
// return langData.longDateFormat('LT')
// .replace(':mm', '(:mm)')
// .replace(/(\Wmm)$/, '($1)') // like above, but for foreign langs
// .replace(/\s*a$/i, 'a'); // convert AM/PM/am/pm to lowercase. remove any spaces beforehand
// }
// function generateAgendaTimeFormat(options, langData) {
// return langData.longDateFormat('LT')
// .replace(/\s*a$/i, ''); // remove trailing AM/PM
// }
// TODO: make it work in quirks mode (event corners, all-day height)
// TODO: test liquid width, especially in IE6
@@ -5742,7 +5728,7 @@ function ResourceView(element, calendar, viewName) {
t.getSlotSegmentContainer = function() { return slotSegmentContainer; };
t.getSlotContainer = function() { return slotContainer; };
t.getRowCnt = function() { return 1; };
t.getColCnt = function() { return colCnt; };
t.getColCnt = function() { return 1; };
t.getColWidth = function() { return colWidth; };
t.getSnapHeight = function() { return snapHeight; };
t.getSnapDuration = function() { return snapDuration; };
@@ -6703,7 +6689,7 @@ function ResourceEventRenderer() {
var colContentLeft = t.colContentLeft;
var colContentRight = t.colContentRight;
var cellToDate = t.cellToDate;
var getColCnt = t.getColCnt;
var getColCnt = function() { return resources().length; };
var getColWidth = t.getColWidth;
var getSnapHeight = t.getSnapHeight;
var getSnapDuration = t.getSnapDuration;
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -25,7 +25,7 @@ function ResourceEventRenderer() {
var colContentLeft = t.colContentLeft;
var colContentRight = t.colContentRight;
var cellToDate = t.cellToDate;
var getColCnt = function() { return resources().length;}
var getColCnt = function() { return resources().length; };
var getColWidth = t.getColWidth;
var getSnapHeight = t.getSnapHeight;
var getSnapDuration = t.getSnapDuration;