This version is out of date, covering development from v8.0.0 to v8.x.x. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v8 Icon

Prototype values override document defaults

Prototype values override document defaults

Proving the point that the set-in-prototype values override defaults inherited from higher levels in the inheritance chain, if the document default for attribute $Color is now set to 'red', notice that only the note not using the prototype takes on the revised document default of red. The prototype is coloured green because its $Color was expressly changed to 'green', whilst the current note is inheriting a $Color value of green via the prototype's $Color.

Notice also that for the note using the prototype, the listing for $Color is not in bold. This is because, whilst the $Color value is set locally in the prototype, the same value is simply inherited by the note using the prototype.

What about 'local' values, set at a note level…