#3535 closed enhancement (fixed)
dojo.parser enhancements (as discussed with bill)
Reported by: | alex | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | 0.9beta |
Component: | Core | Version: | 0.9 |
Keywords: | Cc: | bill | |
Blocked By: | Blocking: |
Description
Several issues exist with dojo.parser today:
- it's not possible to register a preamble
- connect is the default, not replace
- there's no way to impedence match for classes that don't follow the (args, node) convention in their ctor
- the code isn't well factored and does too much hitch()-ing
- dojo/connect should be named dojo/method
- dojo.parser has no tests
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [9317]) updating the parser to:
- handle preambles
- enhance the semantics for <script> parsing. Mixin assignment is now the default, connects happen via mode="connect"
- array parsing enhancements (now snarfs surrounding whitespace)
- markupFactory() for classes which don't wish to modify their ctor semantics
- less hitch()-ing
Fixes #3535. Still need more tests (esp for markupFactory).
Note: See
TracTickets for help on using
tickets.
(In [9314]) tests for dojo.parser. Refs #3535