Ticket #9321 (closed enhancement: wontfix)
build interning matches more than necessary. please don't fix.
| Reported by: | dante | Owned by: | jburke |
|---|---|---|---|
| Priority: | normal | Milestone: | tbd |
| Component: | BuildSystem | Version: | 1.3.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
as a side effect of the build using regexp to match "templatePath: moduleUrl" etc, it is possible to make alternate members inlined following the same pattern. eg:
dojo.declare("Thinger", null, {
sometemplatePath: dojo.moduleUrl("foo", "Bar.html"),
anothertemplatePath: dojo.moduleUrl("foo", "Baz.html")
});
Both are properly converted to sometemplateString and anotherTemplateString respectively. Is this a bug or a feature? I vote feature, which leads me to this enhancement request:
sometemplatePath should probably be someTemplatePath to allow following of the dojo style guidelines. Attach is a trivial patch supporting this and maintaining back compat.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.