Browse Source

Merge branch 'master' of github.com:LearnBoost/node-canvas

v1.x
Tj Holowaychuk 14 years ago
parent
commit
787249acb8
  1. 8
      Readme.md
  2. 2
      package.json

8
Readme.md

@ -107,16 +107,16 @@ canvas.toBuffer(function(err, buf){
Optionally we may pass a callback function to `Canvas#toDataURL()`, and this process will be performed asynchronously, and will `callback(err, str)`.
```javascript
canvas.toDataURL(function(err, str){
});
canvas.toDataURL(function(err, str){
});
```
or specify the mime type:
```javascript
canvas.toDataURL('image/png', function(err, str){
});
```

2
package.json

@ -12,6 +12,6 @@
, "expresso": "0.7.6"
, "jade": "0.11.0"
}
, "engines": { "node": "0.4.x" }
, "engines": { "node": ">= 0.4.0 && < 0.6.0" }
, "main": "./lib/canvas.js"
}
Loading…
Cancel
Save