Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Animal shelter revisions #558

Merged
merged 6 commits into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion browser.cjs.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions browser.esm.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions icons/animal-shelter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion layouts/all.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["aerialway","airfield","airport","alcohol-shop","american-football","amusement-park","aquarium","arrow","art-gallery","attraction","bakery","bank-JP","bank","bar","barrier","baseball","basketball","bbq","beach","beer","bicycle-share","bicycle","blood-bank","bowling-alley","bridge","building-alt1","building","bus","cafe","campsite","car-rental","car-repair","car","casino","castle-JP","castle","caution","cemetery-JP","cemetery","charging-station","cinema","circle-stroked","circle","city","clothing-store","college-JP","college","commercial","communications-tower","confectionery","construction","convenience","cricket","cross","dam","danger","defibrillator","dentist","diamond","doctor","dog-park","drinking-water","elevator","embassy","emergency-phone","entrance-alt1","entrance","farm","fast-food","fence","ferry-JP","ferry","fire-station-JP","fire-station","fitness-centre","florist","fuel","furniture","gaming","garden-centre","garden","gift","globe","golf","grocery","hairdresser","harbor","hardware","heart","heliport","highway-rest-area","home","horse-riding","hospital-JP","hospital","hot-spring","ice-cream","industry","information","jewelry-store","karaoke","landmark-JP","landmark","landuse","laundry","library","lighthouse-JP","lighthouse","lodging","logging","marker-stroked","marker","mobile-phone","monument-JP","monument","mountain","museum","music","natural","observation-tower","optician","paint","park-alt1","park","parking-garage","parking","pharmacy","picnic-site","pitch","place-of-worship","playground","police-JP","police","post-JP","post","prison","racetrack-boat","racetrack-cycling","racetrack-horse","racetrack","rail-light","rail-metro","rail","ranger-station","recycling","religious-buddhist","religious-christian","religious-jewish","religious-muslim","religious-shinto","residential-community","restaurant-bbq","restaurant-noodle","restaurant-pizza","restaurant-seafood","restaurant-sushi","restaurant","road-accident","roadblock","rocket","school-JP","school","scooter","shelter","shoe","shop","skateboard","skiing","slaughterhouse","slipway","snowmobile","soccer","square-stroked","square","stadium","star-stroked","star","suitcase","swimming","table-tennis","teahouse","telephone","tennis","theatre","toilet","town-hall","town","triangle-stroked","triangle","veterinary","viewpoint","village","volcano","volleyball","warehouse","waste-basket","watch","water","waterfall","watermill","wetland","wheelchair","windmill","zoo"]
["aerialway","airfield","airport","alcohol-shop","american-football","amusement-park","animal-shelter","aquarium","arrow","art-gallery","attraction","bakery","bank-JP","bank","bar","barrier","baseball","basketball","bbq","beach","beer","bicycle-share","bicycle","blood-bank","bowling-alley","bridge","building-alt1","building","bus","cafe","campsite","car-rental","car-repair","car","casino","castle-JP","castle","caution","cemetery-JP","cemetery","charging-station","cinema","circle-stroked","circle","city","clothing-store","college-JP","college","commercial","communications-tower","confectionery","construction","convenience","cricket","cross","dam","danger","defibrillator","dentist","diamond","doctor","dog-park","drinking-water","elevator","embassy","emergency-phone","entrance-alt1","entrance","farm","fast-food","fence","ferry-JP","ferry","fire-station-JP","fire-station","fitness-centre","florist","fuel","furniture","gaming","garden-centre","garden","gift","globe","golf","grocery","hairdresser","harbor","hardware","heart","heliport","highway-rest-area","home","horse-riding","hospital-JP","hospital","hot-spring","ice-cream","industry","information","jewelry-store","karaoke","landmark-JP","landmark","landuse","laundry","library","lighthouse-JP","lighthouse","lodging","logging","marker-stroked","marker","mobile-phone","monument-JP","monument","mountain","museum","music","natural","observation-tower","optician","paint","park-alt1","park","parking-garage","parking","pharmacy","picnic-site","pitch","place-of-worship","playground","police-JP","police","post-JP","post","prison","racetrack-boat","racetrack-cycling","racetrack-horse","racetrack","rail-light","rail-metro","rail","ranger-station","recycling","religious-buddhist","religious-christian","religious-jewish","religious-muslim","religious-shinto","residential-community","restaurant-bbq","restaurant-noodle","restaurant-pizza","restaurant-seafood","restaurant-sushi","restaurant","road-accident","roadblock","rocket","school-JP","school","scooter","shelter","shoe","shop","skateboard","skiing","slaughterhouse","slipway","snowmobile","soccer","square-stroked","square","stadium","star-stroked","star","suitcase","swimming","table-tennis","teahouse","telephone","tennis","theatre","toilet","town-hall","town","triangle-stroked","triangle","veterinary","viewpoint","village","volcano","volleyball","warehouse","waste-basket","watch","water","waterfall","watermill","wetland","wheelchair","windmill","zoo"]
6 changes: 2 additions & 4 deletions scripts/gather-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ const path = require('path');
* @param {string} dir - Path to directory of files.
* @return {array} – array of file contents
*/

function gatherFiles(dir) {
return fs
.readdirSync(dir)
.map(f => fs.readFileSync(path.join(dir, f), 'utf8'));
const list = fs.readdirSync(dir).filter(item => item.match(/.svg$/));
return list.map(f => fs.readFileSync(path.join(dir, f), 'utf8'));
}

module.exports = gatherFiles;