Skip to content

Commit

Permalink
fix(:bug:): ensure getGeocodeService() is exported
Browse files Browse the repository at this point in the history
AFFECTS PACKAGES:
@esri/arcgis-rest-geocoder
@esri/arcgis-rest-geocoder-vanilla

ISSUES CLOSED: #267
  • Loading branch information
jgravois committed Aug 7, 2018
1 parent 72ed122 commit 71801c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demos/geocoder-browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1>get to geocodin!</h1>
var metadataBtn = document.getElementById('metadata');

metadataBtn.addEventListener('click', function (e) {
arcgisRest.serviceInfo()
arcgisRest.getGeocodeService()
.then((response) => {
console.log("metadata", response);
});
Expand Down
4 changes: 2 additions & 2 deletions demos/geocoder-browser/post-sign-in.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<body>

<script src="config.js"></script>
<script src="node_modules/@esri/arcgis-rest-request/dist/umd/arcgis-rest-request.umd.js"></script>
<script src="node_modules/@esri/arcgis-rest-auth/dist/umd/arcgis-rest-auth.umd.js"></script>
<script src="node_modules/@esri/arcgis-rest-request/dist/umd/request.umd.js"></script>
<script src="node_modules/@esri/arcgis-rest-auth/dist/umd/auth.umd.js"></script>

<script>
try {
Expand Down
1 change: 1 addition & 0 deletions packages/arcgis-rest-geocoder/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export * from "./geocode";
export * from "./suggest";
export * from "./reverse";
export * from "./bulk";
export * from "./helpers";

0 comments on commit 71801c2

Please sign in to comment.