OSDN Git Service

NAIBU._setPaintにおける変数の整理
authordhrname <dhrname@users.sourceforge.jp>
Mon, 28 Nov 2011 13:33:49 +0000 (22:33 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Mon, 28 Nov 2011 13:33:49 +0000 (22:33 +0900)
org/w3c/dom/svg.js

index bf05b66..2165ca9 100644 (file)
@@ -2660,9 +2660,7 @@ NAIBU._setPaint = function(tar, matrix) {
   }
   cursor = style.getPropertyCSSValue("cursor");
   if (cursor && !cursor._isDefault) { //初期値でないならば
-    var tc = cursor.cssText;
-    el.style.cursor = tc.split(":")[1];
-    tc = void 0;
+    el.style.cursor = cursor.cssText.split(":")[1];
   }
   vis = style.getPropertyCSSValue("visibility");
   if (vis && !vis._isDefault) {