call: function()

in xhpjs.js [28:36]


  call: function(data) {
    var module = data[0];
    var method = data[1];
    var args = this.mapArguments(data[2]);

    module = window[module] ? window[module] : require(module);
    method = module[method];
    method.apply(null, args);
  },