- Bugfix. Plugin
dependencies
attributes might not be defined - Bugfix.
this
value is wrong in overridden functions
- Remove lodash and use native methods instead
- Import lodash methods individually
- Log not-found dependency messages as warnings.
- Rename the
optional_dependencies
option todependencies
, since they're not necessarily optional and the original name is misleading.
- Ensure that
plugged
obj is also available in overriden constructors - Plugins now can have an
enabled
attribute (either a method or a property) which determines whether the plugin should be initialized or not.
- Use lodash instead of underscore.
- Update pluggable.js to ES2015 syntax.
- Add unit tests and integrate into TravisCI.
- Throw an error when reusing an already taken plugin name.
- Ensure that pluggable obj is reachable in overridden functions
- Rename
_super
attribute to__super__
. - Renamed
Pluggable
class toPluginSocket
. - Allow the attribute name referring to the
PluginSocket
instance to be specified when callingpluggable.enable
.
- Initial release