Delete useless example.
This commit is contained in:
parent
2fcb6d0c7c
commit
12b42854e4
2
packages/xo-lib/example/.gitignore
vendored
2
packages/xo-lib/example/.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
/node_modules/
|
|
||||||
bundle.js
|
|
@ -1,7 +0,0 @@
|
|||||||
> Minimalist browser example.
|
|
||||||
|
|
||||||
```
|
|
||||||
> npm install
|
|
||||||
> npm run build
|
|
||||||
> open index.html
|
|
||||||
```
|
|
@ -1,9 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>xo-lib</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script src="bundle.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -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);
|
|
||||||
});
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user