Skip to content

Commit 494e4ad

Browse files
committed
Clean up dead links in README, remove unsupported JSDoc annotations
1 parent d198aab commit 494e4ad

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,19 @@ Install roslibjs with any NPM-compatible package manager via, for example,
1818
npm install roslib
1919
```
2020

21-
~Pre-built files can be found in either [roslib.js](build/roslib.js) or [roslib.min.js](build/roslib.min.js).~
22-
23-
As we are updating to v2, we don't provide pre-built files anymore in the repo.
24-
25-
Alternatively, you can use the v1 release via the [JsDelivr](https://www.jsdelivr.com/) CDN: ([full](https://cdn.jsdelivr.net/npm/roslib@1/build/roslib.js)) | ([min](https://cdn.jsdelivr.net/npm/roslib@1/build/roslib.min.js))
26-
2721
## Troubleshooting
2822

2923
1. Check that connection is established. You can listen to error and
3024
connection events to report them to console. See
3125
examples/simple.html for a complete example:
3226

3327
```js
34-
ros.on('error', function(error) { console.log( error ); });
35-
ros.on('connection', function() { console.log('Connection made!'); });
28+
ros.on("error", function (error) {
29+
console.log(error);
30+
});
31+
ros.on("connection", function () {
32+
console.log("Connection made!");
33+
});
3634
```
3735

3836
2. Check that you have the websocket server is running on

src/RosLib.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
2-
* @fileOverview
32
* @author Russell Toris - [email protected]
43
*/
54

6-
/** @description Library version */
5+
/** Library version */
76
export const REVISION = import.meta.env.VITE_ROSLIBJS_VERSION;
87

98
// Core exports

0 commit comments

Comments
 (0)