Add comments

This commit is contained in:
Daniel García Aubert 2018-04-04 20:07:53 +02:00
parent 11099c88dc
commit 5aa63d35ce

View File

@ -41,7 +41,9 @@ module.exports = class TileLayergroupController {
} }
register (mapRouter) { register (mapRouter) {
// REGEXP matches with positive and negative numnbers
const number = () => `(-?\\d+)`; const number = () => `(-?\\d+)`;
// REGEXP doesn't match with `val`
const not = (val) => `(?!${val})([^\/]+?)`; const not = (val) => `(?!${val})([^\/]+?)`;
mapRouter.get( mapRouter.get(