lib/Models/GnafApi.js
function(corsProxy, overrideUrl) {
  this.url = corsProxy.getURLProxyIfNecessary(
    defaultValue(overrideUrl, DATA61_GNAF_SEARCH_URL)
  );
  this.bulk_url = corsProxy.getURLProxyIfNecessary(
    defaultValue(overrideUrl, DATA61_GNAF_BULK_SEARCH_URL)
  );
}
function(corsProxy, overrideUrl) {
  this.url = corsProxy.getURLProxyIfNecessary(
    defaultValue(overrideUrl, DATA61_GNAF_SEARCH_URL)
  );
  this.bulk_url = corsProxy.getURLProxyIfNecessary(
    defaultValue(overrideUrl, DATA61_GNAF_BULK_SEARCH_URL)
  );
}
function ( corsProxy , overrideUrl ) { this . url = corsProxy . getURLProxyIfNecessary ( defaultValue ( overrideUrl , DATA61_GNAF_SEARCH_URL ) ) ; this . bulk_url = corsProxy . getURLProxyIfNecessary ( defaultValue ( overrideUrl , DATA61_GNAF_BULK_SEARCH_URL ) ) ; }
Simple JS Api for the Data61 Lucene GNAF service.

@param {CorsProxy} corsProxy CorsProxy to use to determine whether calls need to go through the terria proxy.
@param {String} [overrideUrl] The URL to use to query the service - will default if not provided.
@constructor
Simple JS Api for the Data61 Lucene GNAF service .