js-data-http
js-data-http copied to clipboard
Finish adding JSDoc comments to source code
About 50% done so far
now about 75% done
I do not understand where to write...on this ask the last question here
const adapter = new DSHttpAdapter()
class Base extends JSData.Model {}
Base.registerAdapter('http', adapter, { default: true })
class School extends Model {}
class Student extends Model {}
// "School" and "Student" will now use the http adapter by default
https://github.com/js-data/js-data-http/tree/3.0.0-alpha.3 your code is correct? or must be so
class School extends Base {}
class Student extends Base {}
?
you are right, good catch