code: function attributes(el, attrs, store) {
    for(var key in attrs) {
      var value = attrs[key];
      if(typeof value === 'object') value = styles(value);
      else if(typeof value === 'function') {
        var bool = key.substring(0, 2) === 'on';
        if(bool) el.addEventListener(key.slice(2), value);
        else el.setAttribute(key, value.call(store.data));
        // @not we should compute the function if it's not an event
        break;
      }
  
      bind(value, function(data) {
         // @note should refactor with render (too bad attribute can't append text node anymore)
         el.setAttribute(this, data);
      }.bind(key), store);
    }
  }
docs: Render virtual dom attributes.
  
  @param {Element} el
  @param {Object} attrs
  @param {DataStore} store
  @api private