Code Duplication    Length = 4-4 lines in 2 locations

js/jquery-ui.js 2 locations

@@ 5437-5440 (lines=4) @@
5434
			this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)),
5435
			this._getFormatConfig(inst)));
5436
5437
		next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
5438
			"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +
5439
			" title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>" :
5440
			(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+ nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>"));
5441
5442
		currentText = this._get(inst, "currentText");
5443
		gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today);
@@ 5427-5430 (lines=4) @@
5424
			this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)),
5425
			this._getFormatConfig(inst)));
5426
5427
		prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
5428
			"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +
5429
			" title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>" :
5430
			(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+ prevText +"'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>"));
5431
5432
		nextText = this._get(inst, "nextText");
5433
		nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,