Commit 2892a685 by junghwan-park

2.2.7a

parent 4d72b566
...@@ -196,7 +196,7 @@ define(["eve"], function(eve) { ...@@ -196,7 +196,7 @@ define(["eve"], function(eve) {
width: 0, width: 0,
x: 0, x: 0,
y: 0, y: 0,
class: "" "class": ""
}, },
availableAnimAttrs = R._availableAnimAttrs = { availableAnimAttrs = R._availableAnimAttrs = {
blur: nu, blur: nu,
......
...@@ -613,7 +613,7 @@ define(["./raphael.core"], function(R) { ...@@ -613,7 +613,7 @@ define(["./raphael.core"], function(R) {
$(node, {x: a.x, y: a.y}); $(node, {x: a.x, y: a.y});
el._.dirty = 1; el._.dirty = 1;
var bb = el._getBBox(), var bb = el._getBBox(),
dif = a.y - (bb.y + bb.height / 2); dif = a.y - (bb.y + bb.height * 8 / 10);
if (bb.height) dif && R.is(dif, "finite") && $(tspans[0], {dy: dif}); if (bb.height) dif && R.is(dif, "finite") && $(tspans[0], {dy: dif});
}, },
getRealNode = function (node) { getRealNode = function (node) {
......
{ {
"name": "raphael", "name": "raphael",
"version": "2.2.6", "version": "2.2.7",
"description": "JavaScript Vector Library", "description": "JavaScript Vector Library",
"main": "raphael.min.js", "main": "raphael.min.js",
"author": { "author": {
...@@ -13,17 +13,17 @@ ...@@ -13,17 +13,17 @@
} }
], ],
"dependencies": { "dependencies": {
"eve": "0.5.0" "eve-raphael": "0.5.0"
}, },
"devDependencies": { "devDependencies": {
"bower": "1.7.9", "bower": "1.8.0",
"eslint": "3.6.1", "eslint": "3.10.0",
"eslint-config-standard": "6.2.0", "eslint-config-standard": "6.2.1",
"eslint-loader": "1.5.0", "eslint-loader": "1.6.1",
"eslint-plugin-promise": "2.0.1", "eslint-plugin-promise": "3.3.2",
"eslint-plugin-standard": "2.0.1", "eslint-plugin-standard": "2.0.1",
"qunitjs": "2.0.1", "qunitjs": "2.0.1",
"webpack": "1.13.2" "webpack": "1.13.3"
}, },
"scripts": { "scripts": {
"start": "npm install && bower install", "start": "npm install && bower install",
......
...@@ -271,7 +271,7 @@ return /******/ (function(modules) { // webpackBootstrap ...@@ -271,7 +271,7 @@ return /******/ (function(modules) { // webpackBootstrap
width: 0, width: 0,
x: 0, x: 0,
y: 0, y: 0,
class: "" "class": ""
}, },
availableAnimAttrs = R._availableAnimAttrs = { availableAnimAttrs = R._availableAnimAttrs = {
blur: nu, blur: nu,
...@@ -6531,7 +6531,7 @@ return /******/ (function(modules) { // webpackBootstrap ...@@ -6531,7 +6531,7 @@ return /******/ (function(modules) { // webpackBootstrap
$(node, {x: a.x, y: a.y}); $(node, {x: a.x, y: a.y});
el._.dirty = 1; el._.dirty = 1;
var bb = el._getBBox(), var bb = el._getBBox(),
dif = a.y - (bb.y + bb.height / 2); dif = a.y - (bb.y + bb.height * 8 / 10);
if (bb.height) dif && R.is(dif, "finite") && $(tspans[0], {dy: dif}); if (bb.height) dif && R.is(dif, "finite") && $(tspans[0], {dy: dif});
}, },
getRealNode = function (node) { getRealNode = function (node) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -271,7 +271,7 @@ return /******/ (function(modules) { // webpackBootstrap ...@@ -271,7 +271,7 @@ return /******/ (function(modules) { // webpackBootstrap
width: 0, width: 0,
x: 0, x: 0,
y: 0, y: 0,
class: "" "class": ""
}, },
availableAnimAttrs = R._availableAnimAttrs = { availableAnimAttrs = R._availableAnimAttrs = {
blur: nu, blur: nu,
...@@ -6105,7 +6105,7 @@ return /******/ (function(modules) { // webpackBootstrap ...@@ -6105,7 +6105,7 @@ return /******/ (function(modules) { // webpackBootstrap
$(node, {x: a.x, y: a.y}); $(node, {x: a.x, y: a.y});
el._.dirty = 1; el._.dirty = 1;
var bb = el._getBBox(), var bb = el._getBBox(),
dif = a.y - (bb.y + bb.height / 2); dif = a.y - (bb.y + bb.height * 8 / 10);
if (bb.height) dif && R.is(dif, "finite") && $(tspans[0], {dy: dif}); if (bb.height) dif && R.is(dif, "finite") && $(tspans[0], {dy: dif});
}, },
getRealNode = function (node) { getRealNode = function (node) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment