Closed dlai0001 closed 11 years ago
I added a 'componentsRegEx' which checks the filepath for example for '/components/[^/]+$' to detect which templates are in the components directory.
Then it'll prefix the template names of the components with 'components/' so Ember can recognize them as stand alone components.
I couldn't figure out how that unit test works, so I didn't put any unit tests in there.
sorry wrong commit, I'll resubmit
I added a 'componentsRegEx' which checks the filepath for example for '/components/[^/]+$' to detect which templates are in the components directory.
Then it'll prefix the template names of the components with 'components/' so Ember can recognize them as stand alone components.