No description
Find a file
David Larlet 56ce9ae22c
Apply Lebab for let/const conversions
As far as I understand, it default to `let` in these cases because the tool cannot figure out if a `const` is possible. It has to be checked manually:

```
./node_modules/lebab/bin/index.js --replace "umap/static/umap/js/*.js" --transform let
umap/static/umap/js/umap.xhr.js:
228:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.ui.js:
83:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.slideshow.js:
15:  warning  Unable to transform var  (let)
83:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.popup.js:
100:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.permissions.js:
14:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.layer.js:
195:  warning  Unable to transform var  (let)
436:  warning  Unable to transform var  (let)
568:  warning  Unable to transform var  (let)
584:  warning  Unable to transform var  (let)
989:  warning  Unable to transform var  (let)
1088:  warning  Unable to transform var  (let)
1098:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.js:
124:  warning  Unable to transform var  (let)
223:  warning  Unable to transform var  (let)
343:  warning  Unable to transform var  (let)
376:  warning  Unable to transform var  (let)
406:  warning  Unable to transform var  (let)
849:  warning  Unable to transform var  (let)
732:  warning  Unable to transform var  (let)
948:  warning  Unable to transform var  (let)
959:  warning  Unable to transform var  (let)
878:  warning  Unable to transform var  (let)
1085:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.icon.js:
145:  warning  Unable to transform var  (let)
184:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.forms.js:
453:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.features.js:
15:  warning  Unable to transform var  (let)
101:  warning  Unable to transform var  (let)
143:  warning  Unable to transform var  (let)
373:  warning  Unable to transform var  (let)
429:  warning  Unable to transform var  (let)
890:  warning  Unable to transform var  (let)
949:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.core.js:
149:  warning  Unable to transform var  (let)
175:  warning  Unable to transform var  (let)
umap/static/umap/js/umap.controls.js:
665:  warning  Unable to transform var  (let)
876:  warning  Unable to transform var  (let)
1249:  warning  Unable to transform var  (let)
```
2023-05-30 14:16:09 -04:00
.github/ISSUE_TEMPLATE Add issue templates 2023-05-09 15:03:31 -04:00
.tx i18n 2023-02-22 10:23:03 +01:00
docs changelog 2023-05-16 10:34:43 +02:00
umap Apply Lebab for let/const conversions 2023-05-30 14:16:09 -04:00
.gitignore Simpler .gitignore, easier to read, understand, maintain 2020-03-09 17:54:43 +01:00
.pipignore Upgrade django-social-auth to python-social-auth 2014-03-06 23:22:37 +01:00
.prettierrc.yaml Apply PrettierJS to the whole codebase 2023-05-12 13:57:03 -04:00
.readthedocs.yaml Control which version of mkdocs is install on readthedocs 2023-04-30 11:35:23 +02:00
.travis.yml chore: use setup.cfg 2021-12-30 11:16:00 +01:00
LICENSE Fixed typo 2013-06-23 22:43:29 -05:00
Makefile Apply Lebab for let/const conversions 2023-05-30 14:16:09 -04:00
manage.py Allow to load setting from a non python path 2016-09-10 08:26:23 +02:00
MANIFEST.in Explicitly exclude local.py from being released 2018-07-07 23:46:10 +02:00
mkdocs.yml chore: remove mkdocs warning about "pages" replaced by "nav" 2021-12-30 12:01:59 +01:00
osmic-white.yaml update osmic YAML files according to new configuration 2018-11-17 22:03:08 +01:00
osmic.yaml update osmic YAML files according to new configuration 2018-11-17 22:03:08 +01:00
package-lock.json Fix sinon’s fakeServer’s URLs with /?date param 2023-05-26 13:39:58 -04:00
package.json Fix sinon’s fakeServer’s URLs with /?date param 2023-05-26 13:39:58 -04:00
pytest.ini Use ipdb with pytest --pdb 2023-02-27 11:01:01 +01:00
README.md Change 'cured' to 'improved' 2019-02-13 12:09:00 +02:00
SECURITY.md Create SECURITY.md to report security issues 2023-05-05 15:13:53 -04:00
setup.cfg Bump requests 2023-05-16 15:02:47 +02:00
setup.py chore: use setup.cfg 2021-12-30 11:16:00 +01:00

uMap project

Requirements Status Join the chat at https://gitter.im/umap-project/umap Documentation StatusBuild Status

About

uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site. Because we think that the more OSM will be used, the more OSM will be improved. It uses django-leaflet-storage and Leaflet.Storage, built on top of Django and Leaflet.

Installation and configuration

See developer documentation.