Skip to content

Commit

Permalink
Svg | Fix x attr, can bug with cx attr
Browse files Browse the repository at this point in the history
  • Loading branch information
onaliugo committed Mar 16, 2015
1 parent 336653f commit a6023c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/svg/update-x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var regexs = {
hasX: /(<svg)(.*)(x=")(\d*)(")/,
hasX: /(<svg)(.*)(\sx=")(\d*)(")/,
x: /((x=")(\d*)("))/
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sketch-svg-spriter",
"version": "0.1.0",
"version": "0.1.1",
"description": "",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit a6023c6

Please sign in to comment.