Improves Controller and Adapter relationship
- Controllers that have adapters are AdaptableControllers - AdaptableController is responsible to instantiate the proper adapter if needed (string, function or BaseAdapter) - BaseAdapter is the base class for adapters, allows skipping when passed directly to the controller
This commit is contained in:
3
spec/MockAdapter.js
Normal file
3
spec/MockAdapter.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = function(options) {
|
||||
this.options = options;
|
||||
}
|
||||
Reference in New Issue
Block a user