minit create:component -n converter
creates a converter.reel but in converter.html the owner / properties / element value is 'owner' (not 'converter').
I am running node v0.10.17 on Windows 7.
minit create:component was run in a second terminal shell since
minit serve & does not background in the Windows shell.
This what's expected. The owner is a "role" more than a type, therefore the symbol used follows that logic. In every template, the role of the component that will load that template is represented by "owner". That pre-existing instance of a component is passing itself as an argument to the Template object doing the work. This is what "owner" usually doesn't have and need a prototype in the serialization.
That is fine. However, I was following the example:
which sets the element value within 'owner' (i.e. the value used for the HTML tag id) as 'converter' in the documentation, so the example broke at one of the steps (since the tool sets the element value as 'owner). This is fixed in a later step in the documentation where the script tag contents are replaced and so 'converter' becomes used in both the script and in the HTML). i.e. it is a small synchronization issue between the documentation and the tool and initially somewhat confusing to newbies.