Skip to content

Commit

Permalink
revert index() doc
Browse files Browse the repository at this point in the history
  • Loading branch information
wilberforce authored and mkellner committed Sep 10, 2020
1 parent c2844c1 commit a000d3c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions documentation/files/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,22 +522,6 @@ if (Resource.exists(path))

***

#### `static name( index)`

The static `name` returns the resource name at the specified `index` argument.

```js
import Resource from "Resource";

for (let i = 0; true; i++) {
const name = Resource.name(i);
if (!name) break;
trace(name, "\n");
}
```

***

### `slice(begin[, end])`

The `slice` function returns a portion of the resource in an `ArrayBuffer`. The default value of `end` is the resource size.
Expand Down

0 comments on commit a000d3c

Please sign in to comment.