Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
formatting, add @chetandhembre as contributor; version bump; v0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
yetzt committed Feb 11, 2014
1 parent 19a0f19 commit 965982c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 26 deletions.
5 changes: 2 additions & 3 deletions index.js
Expand Up @@ -2381,10 +2381,9 @@ var stackblur = require("stackblur");
this.base = svg.Element.ElementBase;
this.base(node);

function blur(ctx, width, height, sigma)
{
function blur(ctx, width, height, sigma) {
var srcData = ctx.getImageData(0, 0, width, height);
stackblur.blur(srcData.data, width, height, sigma);
stackblur.blur(srcData.data, width, height, sigma);
ctx.putImageData(srcData, 0, 0);
}

Expand Down
51 changes: 28 additions & 23 deletions package.json
@@ -1,25 +1,30 @@
{
"name": "canvg",
"description": "A port of canvg, which pareses svg input and renders the result to a canvas.",
"version": "0.0.4",
"author": "Sebastian Vollnhals <sebastian@vollnhals.info>",
"main": "./index.js",
"repository": {
"type": "git",
"url": "https://github.com/yetzt/node-canvg.git"
},
"dependencies": {
"canvas": ">= 1.0.0",
"xmldom": "0.1.x",
"rgbcolor": "0.0.x",
"stackblur": "0.0.x"
},
"keywords": [
"canvas",
"svg"
],
"license": "MIT",
"engines": {
"node": ">= 0.8.15"
}
"name": "canvg",
"description": "A port of canvg, which pareses svg input and renders the result to a canvas.",
"version": "0.0.5",
"author": "Sebastian Vollnhals <sebastian@vollnhals.info>",
"contributors": [{
"name": "Chetan",
"email": "chetandhemrbe@gmail.com",
"url": "https://github.com/chetandhembre"
}],
"main": "./index.js",
"repository": {
"type": "git",
"url": "https://github.com/yetzt/node-canvg.git"
},
"dependencies": {
"canvas": ">= 1.0.0",
"xmldom": "0.1.x",
"rgbcolor": "0.0.x",
"stackblur": "0.0.x"
},
"keywords": [
"canvas",
"svg"
],
"license": "MIT",
"engines": {
"node": ">= 0.8.15"
}
}

0 comments on commit 965982c

Please sign in to comment.