componentjs / spec

Component specs
34 stars 4 forks source link

fix example of requiring templates #60

Closed andreasgrimm closed 10 years ago

andreasgrimm commented 10 years ago

if one want's to use the short alias, templates can only be required within a component via the ´./´prefix. without it, ´require()´ing fails (because during build it won't get replaced by the canonical name).