mirror of
https://github.com/adriancooney/console.snapshot.git
synced 2025-12-08 21:26:19 +00:00
Fixing typos
This commit is contained in:
parent
5e3146c8e7
commit
a934fc9edb
@ -7,7 +7,7 @@
|
||||
|
||||
## Usage
|
||||
### console.snapshot( _<canvas>_ )
|
||||
`console.snapshot` takes in a `HTMLCanvasElement`, base64 encodes it using `toDataURL` and then outputs it to the canvas using `canvas.image`.
|
||||
`console.snapshot` takes in a `HTMLCanvasElement`, base64 encodes it using `toDataURL` and then outputs it to the canvas using `console.image`.
|
||||
|
||||
```js
|
||||
var canvas = document.createElement("canvas"),
|
||||
@ -21,7 +21,7 @@ console.snapshot(canvas);
|
||||
```
|
||||
|
||||
### console.image( _<url>_ )
|
||||
`console.image` outputs and image from a url into the console. See [console.image](http://github.com/dunxrion/console.image).
|
||||
`console.image` outputs an image from a url into the console. See [console.image](http://github.com/dunxrion/console.image).
|
||||
|
||||
```js
|
||||
console.image("http://i.imgur.com/wWPQK.gif");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user