Releases: Bruce17/dependable
Releases · Bruce17/dependable
Refactoring, Code Style, Bugfixes
New Feature: ES6 fat arrow support
- Added support to register ES5 functions and ES6 fat arrow functions (thanks @calmdev! 🎉 ). Example:
// ES5
container.register('_', function() {
return require('lodash');
});
// ES6 fat arrow
container.register('_', () => require('lodash'));
- Added missing unit tests.
- Added missing asserts in unit tests.