mathiasbynens / he

A robust HTML entity encoder/decoder written in JavaScript.
https://mths.be/he
MIT License
3.45k stars 254 forks source link

Make scripts write data files + export the data #20

Open mathiasbynens opened 10 years ago

mathiasbynens commented 10 years ago

Like https://github.com/mathiasbynens/swapcase/blob/8ded201ff6456e72192dd39e6b3e8260ea6762db/scripts/swap-map.js#L46-L53 — it’s much nicer, and it avoids the additional process-data.js step by just making it part of export-data.js.