Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Retina-enable an HTML Canvas element
JavaScript
Branch: master

Merge pull request #5 from repoify/add/repository

Add repository field to readme
latest commit 6502959828
@jonathanong jonathanong authored
Failed to load latest commit information.
.gitignore Initial commit
.npmignore Initial commit
History.md Release 0.0.2
Makefile Initial commit
Readme.md Initial commit
component.json Release 0.0.3
index.js add .scale back
package.json add repository field to readme
test.html fix test

Readme.md

Autoscale-canvas

Retina-enable an HTML canvas according to devicePixelRatio.

Installation

$ component install component/autoscale-canvas

API

var autoscale = require('autoscale-canvas');
autoscale(document.querySelector('canvas'));

License

MIT

Something went wrong with that request. Please try again.