ComponentDecralation.resolvedDependency rename to isDependenyResolved
add overload to gr.registerComponent
name can be omitted. use name property of component-object/constructor instead of.
change specification of registerComponent.
new specification of gr.registerComponent
throw error immediately if given constructor is not inherits Component.
if register by object
generate new constructor that has given object as prototype.
rewrite proto of given object to Component or given base consutructor.
if register by constructor
if base-constructor is not given, search attributes recursively and merge.
if base-constructor is given, generate new constructor inherits base and given constructor, and merge attributes. Use object that traced back prototype-chain to the Component and clone it , and connect the prototype of the base constructor at the end as prototype of the generated constructor..
fix component inheritance bug
ComponentDecralation.resolvedDependency
rename toisDependenyResolved
gr.registerComponent
name
can be omitted. usename
property of component-object/constructor instead of.new specification of
gr.registerComponent
object
Component
or given base consutructor.attributes
recursively and merge.attributes
. Use object that traced back prototype-chain to theComponent
and clone it , and connect the prototype of the base constructor at the end as prototype of the generated constructor..