1
0
mirror of https://github.com/django/django.git synced 2024-12-22 09:05:43 +00:00

Bumped minimum ESLint version to 4.18.2.

This commit is contained in:
Markus Holtermann 2019-06-21 17:57:36 +02:00 committed by Mariusz Felisiak
parent 87b1ad6e73
commit ad7b438002
10 changed files with 107 additions and 107 deletions

View File

@ -21,7 +21,7 @@
dismissCalendarFunc: [],
calendarDivName1: 'calendarbox', // name of calendar <div> that gets toggled
calendarDivName2: 'calendarin', // name of <div> that contains calendar
calendarLinkName: 'calendarlink',// name of the link that is used to toggle
calendarLinkName: 'calendarlink', // name of the link that is used to toggle
clockDivName: 'clockbox', // name of clock <div> that gets toggled
clockLinkName: 'clocklink', // name of the link that is used to toggle
shortCutsClass: 'datetimeshortcuts', // class of the clock and cal shortcuts

View File

@ -139,9 +139,9 @@ function findPosY(obj) {
return result;
};
// ----------------------------------------------------------------------------
// String object extensions
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// String object extensions
// ----------------------------------------------------------------------------
String.prototype.strptime = function(format) {
var split_format = format.split(/[.\-/]/);
var date = this.split(/[.\-/]/);

View File

@ -207,7 +207,7 @@ ol.inherits(GeometryTypeControl, ol.control.Control);
} else {
geometry = features[0].getGeometry().clone();
for (var j = 1; j < features.length; j++) {
switch(geometry.getType()) {
switch (geometry.getType()) {
case "MultiPoint":
geometry.appendPoint(features[j].getGeometry().getPoint(0));
break;

View File

@ -9,7 +9,7 @@
"npm": ">=1.3.0 <3.0.0"
},
"devDependencies": {
"eslint": "^0.22.1",
"eslint": "^4.18.2",
"grunt": "^1.0.1",
"grunt-cli": "^1.2.0",
"grunt-contrib-qunit": "^1.2.0"