From a39a240d6a601fb82c772542f832ccf6f34c69ae Mon Sep 17 00:00:00 2001 From: Rodrigo Toyama Date: Wed, 25 Oct 2023 23:15:48 -0300 Subject: [PATCH 1/2] index.js: Remove declared constants without use Signed-off-by: Rodrigo Toyama --- javascript/index.js | 3 --- javascript/package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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": { From 28182136e3553b10f58e4516231e365df51b7c8d Mon Sep 17 00:00:00 2001 From: Rodrigo Toyama Date: Wed, 25 Oct 2023 23:16:22 -0300 Subject: [PATCH 2/2] CONTRIBUTING.md: Update markdown Signed-off-by: Rodrigo Toyama --- CONTRIBUTING.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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' +```