File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed
Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1+ dist /* .js
Original file line number Diff line number Diff line change 55 },
66 "extends" : " eslint:recommended" ,
77 "parserOptions" : {
8- "ecmaVersion" : 6
8+ "ecmaVersion" : 2017
99 },
1010 "rules" : {
1111 "indent" : [
Original file line number Diff line number Diff line change @@ -18,7 +18,12 @@ function init(obj) {
1818 if ( obj . useHTTP ) protocol = "http://" ;
1919}
2020
21-
21+ /**
22+ * same as init
23+ */
24+ function config ( obj ) {
25+ init ( obj ) ;
26+ }
2227/**
2328 * geocode an address
2429 * @param {string } address - address as string.
@@ -27,8 +32,6 @@ function init(obj) {
2732async function geocode ( address ) {
2833 let tStart = new Date ( ) ;
2934
30- // eslint-disable-next-line no-undef
31- /**/
3235 return new Promise (
3336 ( resolve , reject ) => {
3437 const settings = {
Original file line number Diff line number Diff line change 11{
22 "name" : " heremap" ,
3- "version" : " 1.0.5 " ,
3+ "version" : " 1.0.6 " ,
44 "description" : " node/browser interface to HERE Maps REST API" ,
55 "main" : " heremap.js" ,
66 "scripts" : {
77 "test" : " node test/test.js" ,
8- "pretest" : " eslint --ignore-path .gitignore ." ,
8+ "pretest" : " eslint --ignore-path .eslintignore ." ,
99 "build" : " browserify ./heremap.js -s heremap -o dist/heremap.js"
1010 },
1111 "repository" : {
1616 "keywords" : [
1717 " HERE" ,
1818 " Maps" ,
19- " node.js"
19+ " node.js" ,
20+ " geocode" ,
21+ " isoline" ,
22+ " routing"
2023 ],
2124 "author" : " devbab" ,
2225 "license" : " ISC" ,
You can’t perform that action at this time.
0 commit comments