Skip to content

Commit 148dd51

Browse files
committed
examples fixed in the docs
1 parent 0e1b998 commit 148dd51

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

documentation/docs/devices.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Supported platform IDs:
3333
**Example:**
3434

3535
```js
36-
var fire = require("fire-js");
37-
var cpuPlatform = fire("CPU");
36+
var af = require("arrayfire_js");
37+
var cpuPlatform = af("CPU");
3838
```
3939

4040
## getDeviceCount()
@@ -48,8 +48,8 @@ Gets the number of devices on the given platform.
4848
**Example:**
4949

5050
```js
51-
var fire = require("fire-js");
52-
var cpuPlatform = fire("CPU");
51+
var af = require("arrayfire_js");
52+
var cpuPlatform = af("CPU");
5353
var deviceCount = cpuPlatform.getDeviceCount();
5454
```
5555

documentation/docs/statics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
They are accessible from the main Fire.js context object, eg.:
44

55
```js
6-
var fire = require("fire-js")("CPU");
6+
var fire = require("arrayfire_js")("CPU");
77

88
// dType:
99
var dType = fire.types.dType;

0 commit comments

Comments
 (0)