Changelog
2.7.0
isClass
function that will treat
function Capital () {}
as a class due to the capital first letter of the
function name. This is to improve compatibility with Babel's ES5 code
generator, and is also a pretty commonly accepted standard naming convention.
(#28)register
function to
loadModules
. (#28)Changelog
2.5.0
Lifetime
like
.registerFunction('name', func, Lifetime.SCOPED)
didn't work.asClass
, asValue
and asFunction
.registerClass/Function({ test1: [Test1, { }], test2: [Test2, { }] })
.Changelog
2.4.0
asFunction
and asClass
. This
will prevent some nasty runtime behaviors.
(#20), thanks
@zer0tonin!Changelog
2.3.0
registerX({ name: [value, options]})
pattern is not
needed for registerValue
because it is so simple is requires no
configuration. It was causing trouble when attempting to register an array as
a value, because the register
function would think it was the
value-options-array pattern when it shouldn't be. This change is breaking in
the sense that it solves the unexpected behavior, but it breaks existing
registrations that would register arrays by using
registerValue({ name: [[1, 2]] })
(multi-dimensional array to work around
the pre-2.3.0 behavior)Changelog
2.2.6
formatName
- thanks @anasinnyk!