Bumping up version

master
Dmitry Baranovskiy 2015-04-15 09:26:46 +10:00
parent de1f20748b
commit 84fbff7d51
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "Snap.svg",
"version": "0.4.0",
"version": "0.4.1",
"homepage": "http://snapsvg.io",
"authors": [
"Dmitry Baranovskiy <dmitry@baranovskiy.com>"

View File

@ -1,11 +1,11 @@
// Copyright (c) 2013 - 2015 Adobe Systems Incorporated. All rights reserved.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -13,7 +13,7 @@
// limitations under the License.
var Snap = (function(root) {
Snap.version = "0.4.0";
Snap.version = "0.4.1";
/*\
* Snap
[ method ]
@ -719,7 +719,7 @@ prepareRGB = function (r, g, b) {
g /= 255;
b /= 255;
}
return [r, g, b];
},
packageRGB = function (r, g, b, o) {
@ -957,7 +957,7 @@ Snap.parsePathString = function (pathString) {
if (pth.arr) {
return Snap.path.clone(pth.arr);
}
var paramCounts = {a: 7, c: 6, o: 2, h: 1, l: 2, m: 2, r: 4, q: 4, s: 4, t: 2, v: 1, u: 3, z: 0},
data = [];
if (is(pathString, "array") && is(pathString[0], "array")) { // rough assumption