Loading .eslintrc +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ "key-spacing": [2, {"beforeColon": false, "afterColon": true}], "new-cap": [0, {"newIsCap": true, "capIsNew": true}], "no-alert": [0], "no-eval": [1], "no-eval": [2], "no-extend-native": [2, {"exceptions": ["Date", "String"]}], "no-multi-spaces": [2], "no-octal-escape": [2], Loading django/contrib/gis/static/gis/js/OLMapWidget.js +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ } else if (options.geom_name === 'GeometryCollection') { options.geom_type = OpenLayers.Geometry.Collection; } else { options.geom_type = eval('OpenLayers.Geometry.' + options.geom_name); options.geom_type = OpenLayers.Geometry[options.geom_name]; } // Default options Loading Loading
.eslintrc +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ "key-spacing": [2, {"beforeColon": false, "afterColon": true}], "new-cap": [0, {"newIsCap": true, "capIsNew": true}], "no-alert": [0], "no-eval": [1], "no-eval": [2], "no-extend-native": [2, {"exceptions": ["Date", "String"]}], "no-multi-spaces": [2], "no-octal-escape": [2], Loading
django/contrib/gis/static/gis/js/OLMapWidget.js +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ } else if (options.geom_name === 'GeometryCollection') { options.geom_type = OpenLayers.Geometry.Collection; } else { options.geom_type = eval('OpenLayers.Geometry.' + options.geom_name); options.geom_type = OpenLayers.Geometry[options.geom_name]; } // Default options Loading