Is there a way to get all 3 data values from this element?
<div id="viewport"
data-requires='js/base/paths'
data-requires='js/base/dialog'
data-requires='js/base/notifier'>
This would be really useful for a project that I am starting. With this I could load required js modules and link them to the dom. I know it might sound strange, but I’m trying something new here.
You could put them all in one if you separated them by something then split them up and put them in an Array.
http://jsfiddle.net/S7D2D/1/