wookmark.js
function setData(el, attr, val, prefix) {
    if (prefix === undefined) {
      prefix = 'wookmark-';
    }
    el.setAttribute('data-' + prefix + attr, val);
  }
function setData(el, attr, val, prefix) {
    if (prefix === undefined) {
      prefix = 'wookmark-';
    }
    el.setAttribute('data-' + prefix + attr, val);
  }
function setData ( el , attr , val , prefix ) { if ( prefix === undefined ) { prefix = 'wookmark-' ; } el . setAttribute ( 'data-' + prefix + attr , val ) ; }
Set value of specified data attribute
Set value of specified data attribute