camelcase "HTML" in certain places

This commit is contained in:
Adam Shaw
2014-08-03 15:09:23 -07:00
parent 81ea523fc3
commit a1b6794307
4 changed files with 9 additions and 6 deletions
+4 -1
View File
@@ -6,6 +6,9 @@ $.fullCalendar.lang("fr", {
day: "Jour",
list: "Mon planning"
},
allDayHTML: "Toute la journée",// allDayHTML is discouraged but used here as a hack to get the breaking correct
// allDayHTML is discouraged but used here as a hack to get the breaking correct
allDayHtml: "Toute la journée",
eventLimitText: "en plus"
});
+1 -1
View File
@@ -194,7 +194,7 @@ $.extend(AgendaView.prototype, {
return '' +
'<td class="' + this.widgetHeaderClass + ' fc-axis" ' + this.axisStyleAttr() + '>' +
'<span>' + // needed for matchCellWidths
(this.opt('allDayHTML') || htmlEscape(this.opt('allDayText'))) +
(this.opt('allDayHtml') || htmlEscape(this.opt('allDayText'))) +
'</span>' +
'</td>';
},
+3 -3
View File
@@ -25,9 +25,9 @@ fc.datepickerLang = function(langCode, datepickerLangCode, options) {
},
defaultButtonText: {
// the translations sometimes wrongly contain HTML entities
prev: stripHTMLEntities(options.prevText),
next: stripHTMLEntities(options.nextText),
today: stripHTMLEntities(options.currentText)
prev: stripHtmlEntities(options.prevText),
next: stripHtmlEntities(options.nextText),
today: stripHtmlEntities(options.currentText)
}
});
+1 -1
View File
@@ -304,7 +304,7 @@ function htmlEscape(s) {
}
function stripHTMLEntities(text) {
function stripHtmlEntities(text) {
return text.replace(/&.*?;/g, '');
}