Delete useless example.

This commit is contained in:
Julien Fontanet 2015-02-23 12:23:42 +01:00
parent 2fcb6d0c7c
commit 12b42854e4
5 changed files with 0 additions and 42 deletions

View File

@ -1,2 +0,0 @@
/node_modules/
bundle.js

View File

@ -1,7 +0,0 @@
> Minimalist browser example.
```
> npm install
> npm run build
> open index.html
```

View File

@ -1,9 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>xo-lib</title>
</head>
<body>
<script src="bundle.js"></script>
</body>
</html>

View File

@ -1,13 +0,0 @@
'use strict';
//====================================================================
var xoLib = require('..');
//====================================================================
var api = new xoLib.Api('localhost:9000');
api.call('system.getMethodsInfo').then(function (methods) {
console.log(methods);
});

View File

@ -1,11 +0,0 @@
{
"private": true,
"scripts": {
"build": "browserify --outfile bundle.js index.js",
"dev": "watchify --debug --outfile bundle.js index.js"
},
"devDependencies": {
"browserify": "^8.1.3",
"watchify": "^2.3.0"
}
}