diff --git a/license.md b/license.md index 0f9edd47..f6f1f947 100644 --- a/license.md +++ b/license.md @@ -1,4 +1,4 @@ -Copyright (c) 2016, Jannis R +Copyright (c) 2017, Jannis R Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. diff --git a/package.json b/package.json index 57cdd5ca..7de9cdda 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hafas-client", "description": "JavaScript client for HAFAS mobile APIs.", - "version": "0.6.1", + "version": "0.6.2", "main": "index.js", "files": ["index.js", "parse.js", "stringify.js"], "author": "Jannis R ", diff --git a/parse.js b/parse.js index 583b1517..3fecde89 100644 --- a/parse.js +++ b/parse.js @@ -38,7 +38,7 @@ const location = (l) => { // todo: what is p.oprX? const product = (p) => { if (!p) return null - const result = {line: p.line, class: p.cls} + const result = {line: p.line, name: p.name, class: p.cls} if (p.prodCtx) { result.productCode = +p.prodCtx.catCode result.productName = p.prodCtx.catOutS diff --git a/readme.md b/readme.md index ed240216..36460fde 100644 --- a/readme.md +++ b/readme.md @@ -7,6 +7,7 @@ [![dependency status](https://img.shields.io/david/derhuerst/hafas-client.svg)](https://david-dm.org/derhuerst/hafas-client) [![dev dependency status](https://img.shields.io/david/dev/derhuerst/hafas-client.svg)](https://david-dm.org/derhuerst/hafas-client#info=devDependencies) ![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-client.svg) +[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst) ## Installing