Update example.

This commit is contained in:
Julien Fontanet 2015-02-20 17:15:00 +01:00
parent a0a1353445
commit d0b37d0f9a

View File

@ -2,12 +2,12 @@
//====================================================================
var Xo = require('..');
var xoLib = require('..');
//====================================================================
var xo = new Xo('localhost:9000');
var api = new xoLib.Api('localhost:9000');
xo.call('system.getMethodsInfo').then(function (methods) {
api.call('system.getMethodsInfo').then(function (methods) {
console.log(methods);
});