carto/README.txt

34 lines
947 B
Plaintext
Raw Normal View History

2011-01-06 02:11:22 +08:00
_)
__ `__ \ _ \ __| __| | __|
| | | __/\__ \\__ \ |\__ \
_| _| _|\___|____/____/_) |____/
___/
2010-12-02 04:56:08 +08:00
2011-01-06 02:11:22 +08:00
mess.js is an attempt to use less.js to
compile cascadenik-formatted styles.
2010-12-02 04:56:08 +08:00
2011-01-06 02:11:22 +08:00
it is inspired by but incompatible with
Cascadenik [1]. most importantly it deviates
by
2010-12-02 04:56:08 +08:00
2011-01-06 02:11:22 +08:00
1. Supporting JSON MML representations only
2. Implementing composition of styles instead
of overriding
2010-02-24 02:39:05 +08:00
2011-01-06 02:11:22 +08:00
mess.js is based on less.js [2], a CSS compiler
written by Alexis Sellier. It includes
underscore.js [3].
2010-03-07 07:19:36 +08:00
2011-01-06 02:11:22 +08:00
like less, mess.js provides a binary in bin/,
named mess, although it is designed primarily
for usage as a library.
2010-03-07 07:19:36 +08:00
2011-01-06 02:11:22 +08:00
usage:
2010-05-27 00:56:07 +08:00
2011-01-06 02:11:22 +08:00
messc map_file.json
2010-05-27 00:56:07 +08:00
2011-01-06 02:11:22 +08:00
[1]: https://github.com/mapnik/Cascadenik
[2]: https://github.com/cloudhead/less.js
[3]: https://github.com/documentcloud/underscore/