JoshuaCWebDeveloper / jcscript

A collection of JavaScripts to aid in the development of JS projects
2 stars 1 forks source link

Use configuration object to pass ClientService parameters to constructor #25

Open JoshuaCWebDeveloper opened 6 years ago

JoshuaCWebDeveloper commented 6 years ago

The ajax and get method calls accept the service parameters as a config object, but the constructor still accepts individual arguments.

Use the configuration class that will be created in #14.

Make this backwards compatible: detect when individual params are passed, but issue a deprecation warning when they are.