#11829 closed enhancement (fixed)
Declaration: support HTML5 friendly syntax
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | Dijit | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In line w/the parser etc. changes Declaration should also support HTML5 syntax. Specifically:
<script type='dojo/method' data-dojo-event='myHandler'>
in addition to the old:
<script type='dojo/method' event='myHandler'>
[22951] actually checked in a test for this, but it doesn't work (yet).
Change History (2)
comment:1 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Note: See
TracTickets for help on using
tickets.
(In [22963]) Support <script type='dojo/method' data-dojo-event='myHandler'> and <script type='dojo/connect' data-dojo-event='myHandler'> syntax for Declaration.
The code is a bit convoluted due to apparent dojo.query() bugs with dashes (or at least with "data-dojo-event").
Fixes #11829 !strict.