index.js
function callViewFunction(viewFunction, viewAttr, el) {
  return viewFunction.call(this, el, parseProps(el.getAttribute(viewAttr)));
}
function callViewFunction(viewFunction, viewAttr, el) {
  return viewFunction.call(this, el, parseProps(el.getAttribute(viewAttr)));
}
function callViewFunction ( viewFunction , viewAttr , el ) { return viewFunction . call ( this , el , parseProps ( el . getAttribute ( viewAttr ) ) ) ; }
callViewFunction
Call the associated function for this specific view
Passing in the element and the value of the data attribute
@param  {Function} viewFunction
@param  {String} viewAttr - data view attribute name: data-view-my-bar-chart
@param  {Element} el
callViewFunction Call the associated function for this specific view Passing in the element and the value of the data attribute