Skip to content

Commit

Permalink
Changelog, package, npm run build instead of Make
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Jun 18, 2014
1 parent a67eadd commit b1a5dd8
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 11,832 deletions.
2 changes: 1 addition & 1 deletion .zuul.yml
Expand Up @@ -6,6 +6,6 @@ browsers:
- name: safari
version: latest
- name: ie
version: latest
version: 9..latest
- name: firefox
version: latest
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,10 @@
## 0.2.0

* Only includes the necessary parts of [TopoJSON](https://github.com/mbostock/topojson): less bytes,
and **IE9** and **IE10** are now supported.
* Tests now use Sauce Labs and run on real browsers for every commit.
* Builds now use an `npm` script rather than a Makefile.

## 0.1.0

* loader functions now support a `customLayer` option for providing options to
Expand Down
15 changes: 0 additions & 15 deletions Makefile

This file was deleted.

12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -124,20 +124,20 @@ var layer = omnivore.gpx('a.gpx')
like `.topojson.parse()`: because you don't need an event. Just run your code
after the call.

## IE<10

IE9 and below [don't support ArrayBuffer](http://caniuse.com/#feat=typedarrays), so [topojson's usage of it](https://github.com/mbostock/topojson/blob/1a73fad3a4fddcf7a9def94f99534bd3619ff978/lib/topojson/topology/point-hash.js)
will cause them to fail on import. If you need to support IE9, you can use [typedarray.js](https://github.com/inexorabletash/polyfill/blob/master/typedarray.js) as a polyfill.

## Development

This is a [browserify](http://browserify.org/) project:

```sh
git clone git@github.com:mapbox/leaflet-omnivore.git

cd leaflet-omnivore

# to run tests
npm install
make

# to build leaflet-omnivore.js
npm run build
```

## FAQ
Expand Down
2 changes: 1 addition & 1 deletion index.js
@@ -1,7 +1,7 @@
var xhr = require('corslite'),
csv2geojson = require('csv2geojson'),
wellknown = require('wellknown'),
topojson = require('topojson'),
topojson = require('topojson/topojson.js'),
toGeoJSON = require('togeojson');

module.exports.geojson = geojsonLoad;
Expand Down

0 comments on commit b1a5dd8

Please sign in to comment.