mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Minor cleanup to satisfy code inspection
This commit is contained in:
parent
20b012ba80
commit
c0548fb886
4 changed files with 5 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ npm install gamedig
|
|||
|
||||
Promise:
|
||||
```javascript
|
||||
var Gamedig = require('gamedig');
|
||||
const Gamedig = require('gamedig');
|
||||
Gamedig.query({
|
||||
type: 'minecraft',
|
||||
host: 'mc.example.com'
|
||||
|
|
@ -29,7 +29,7 @@ Gamedig.query({
|
|||
|
||||
or Node.JS Callback:
|
||||
```javascript
|
||||
var Gamedig = require('gamedig');
|
||||
const Gamedig = require('gamedig');
|
||||
Gamedig.query({
|
||||
type: 'minecraft',
|
||||
host: 'mc.example.com'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue