diff --git a/module-cocoda-sdk.html b/module-cocoda-sdk.html index d23e635..0790df8 100644 --- a/module-cocoda-sdk.html +++ b/module-cocoda-sdk.html @@ -1,3 +1,3 @@ Module: cocoda-sdk
On this page

Members

(static) CocodaSDK

CocodaSDK class (to create new instances or checks with instanceof)

(static) cdk :CocodaSDK

Default CocodaSDK instance

(static) errors :Object

Object of error classes

Type:
  • Object

(static) utils :Object

Object of utility functions

Type:
  • Object

Methods

(static) addAllProviders(_cdkopt)

Adds all available providers to a CocodaSDK instance.

Parameters:
NameTypeAttributesDescription
_cdkCocodaSDK<optional>

CocodaSDK instance to which to add the providers (defaults to default instance)

\ No newline at end of file +
On this page

Members

(static) CocodaSDK

CocodaSDK class (to create new instances or checks with instanceof)

(static) cdk :CocodaSDK

Default CocodaSDK instance

(static) errors :Object

Object of error classes

Type:
  • Object

(static) utils :Object

Object of utility functions

Type:
  • Object

Methods

(static) addAllProviders(_cdkopt)

Adds all available providers to a CocodaSDK instance.

Parameters:
NameTypeAttributesDescription
_cdkCocodaSDK<optional>

CocodaSDK instance to which to add the providers (defaults to default instance)

\ No newline at end of file diff --git a/providers_local-mappings-provider.js.html b/providers_local-mappings-provider.js.html index b278063..1f96a93 100644 --- a/providers_local-mappings-provider.js.html +++ b/providers_local-mappings-provider.js.html @@ -101,9 +101,9 @@ let last = _.last(this.queue) || Promise.resolve() return new Promise((resolve) => { function defer() { - var res, rej + let res, rej - var promise = new Promise((resolve, reject) => { + const promise = new Promise((resolve, reject) => { res = resolve rej = reject })