Improves documentation, add loading tests

This commit is contained in:
Florent Vilmart
2016-03-04 12:04:41 -05:00
parent 069605e9c3
commit a44b1d9f76
3 changed files with 40 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ export function loadAdapter(adapter, defaultAdapter, options) {
} else if (adapter.adapter) {
return loadAdapter(adapter.adapter, undefined, adapter.options);
}
// return the adapter as is as it's unusable otherwise
// return the adapter as provided
return adapter;
}