0.0.2 • Published 7 years ago

atd-cartodb.js v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

cartodb.js

Mini version of CartoDB.js

Travis build status Code Climate Test Coverage Dependency Status devDependency Status

Quick start

  1. Add cartodb.js to your site:
  <script src="http://...">
  1. Create the map from the config file
  var map = new CartoDB('#map', 'leaflet', config);

Development

Use yarn to install node packages

  yarn

Use gulp watch for development. It will run unit tests, rebuild the library and launch a web server for accesing the example html pages.

TODO: html page live reload

Testing

Run unit and acceptance tests with gulp

Alternatively, you can run either suite with gulp test-unit or gulp test-acceptance