SitePen / dojo-amd-converter

A legacy dojo to AMD conversion utility.
Other
11 stars 5 forks source link

Converting custom attributes to data-dojo-props values #8

Open mmaxwell opened 11 years ago

mmaxwell commented 11 years ago

<div iconClass="foo">

is being converted to

<div data-dojo-props='"iconclass":"foo"'>

Case is not being preserved. This looks like an issue with libxmljs, as attribute.name() is returning all values in lower case.

tsemachh commented 10 years ago

+1 for that one , we can't trust Templats conversion without that one