Skip to content

Update qewd-client.js - only override supplied values#2

Open
geoidesic wants to merge 1 commit intorobtweed:masterfrom
geoidesic:patch-1
Open

Update qewd-client.js - only override supplied values#2
geoidesic wants to merge 1 commit intorobtweed:masterfrom
geoidesic:patch-1

Conversation

@geoidesic
Copy link

Currently if you supply an object config (rather than a string), you're forced to override all of the defaults, which is overkill. Rather leave defaults intact if an override for that particular value wasn't supplied.

This change is backwards compatible.

…'t supplied

Currently if you supply an object, you're forced to override all of the defaults, which is overkill. Rather leave defaults intact if an override for that particular value wasn't supplied. 

This change is backwards compatible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant