diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 19ca8d1..4b4e3a7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,10 +1,12 @@ -# Introduction +# Contributing to the Flexible Polyline Project + +## Introduction The team behind the [Flexible Polyline](https://github.com/heremaps/flexible-polyline) gratefully accepts contributions via [pull requests](https://help.github.com/articles/about-pull-requests/) filed against the [GitHub project](https://github.com/heremaps/flexible-polyline/pulls). -# Signing each Commit +## Signing each Commit As part of filing a pull request we ask you to sign off the [Developer Certificate of Origin](https://developercertificate.org/) (DCO) in each commit. @@ -17,12 +19,14 @@ to indicate that you agree with the DCO. An example signed commit message: -``` - README.md: Fix minor spelling mistake +```txt +README.md: Fix minor spelling mistake - Signed-off-by: John Doe +Signed-off-by: John Doe ``` Git has the `-s` flag that can sign a commit for you, see example below: -`$ git commit -s -m 'README.md: Fix minor spelling mistake'` +```sh +git commit -s -m 'README.md: Fix minor spelling mistake' +``` diff --git a/javascript/index.js b/javascript/index.js index d0fcca9..0b5bd77 100644 --- a/javascript/index.js +++ b/javascript/index.js @@ -22,8 +22,6 @@ const LEVEL = 1; const ALTITUDE = 2; const ELEVATION = 3; // Reserved values 4 and 5 should not be selectable -const CUSTOM1 = 6; -const CUSTOM2 = 7; const Num = typeof BigInt !== "undefined" ? BigInt : Number; @@ -195,7 +193,6 @@ function encodeScaledValue(value) { module.exports = { encode, decode, - ABSENT, LEVEL, ALTITUDE, diff --git a/javascript/package.json b/javascript/package.json index f536eb8..7b77312 100644 --- a/javascript/package.json +++ b/javascript/package.json @@ -1,6 +1,6 @@ { "name": "@here/flexpolyline", - "version": "0.1.0", + "version": "0.1.1", "description": "Flexible Polyline encoding: a lossy compressed representation of a list of coordinate pairs or triples", "main": "index.js", "scripts": {