I implemented data component, it basically allows you to attach data to dom
elements.
The problem is, if you use it a lot it will become kinda annoying because you do data(el).set().get().del() instead of dom('script').data('key', 'val').
If there is enough support i will fork this repo and add data to this lib... :)
Anyone here uses
$.data()
in jQuery ?I implemented data component, it basically allows you to attach data to dom elements.
The problem is, if you use it a lot it will become kinda annoying because you do
data(el).set().get().del()
instead ofdom('script').data('key', 'val')
.If there is enough support i will fork this repo and add data to this lib... :)