From e148cc8141b61b8581f4b64242be5b72f5eb5797 Mon Sep 17 00:00:00 2001 From: dhrname Date: Mon, 28 Nov 2011 22:55:49 +0900 Subject: [PATCH] =?utf8?q?event=E9=96=A2=E9=80=A3=E3=81=AE=E5=B1=9E?= =?utf8?q?=E6=80=A7=E3=81=AB=E4=B8=8D=E5=85=B7=E5=90=88=E3=81=8C=E3=81=82?= =?utf8?q?=E3=81=A3=E3=81=9F=E3=81=AE=E3=81=A7=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- org/w3c/dom/css.js | 2 +- org/w3c/dom/svg.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org/w3c/dom/css.js b/org/w3c/dom/css.js index 0d0ce2f..f4b9058 100644 --- a/org/w3c/dom/css.js +++ b/org/w3c/dom/css.js @@ -200,7 +200,7 @@ CSSStyleDeclaration.prototype = { var tg = this.getPropertyCSSValue(propertyName); if (tg) { //見つかった場合 var tc = tg.cssText; - return (tc.split(":")[1]); + return (tc.slice(tc.indexOf(":"))); } else { return ""; } diff --git a/org/w3c/dom/svg.js b/org/w3c/dom/svg.js index 2165ca9..0a058af 100644 --- a/org/w3c/dom/svg.js +++ b/org/w3c/dom/svg.js @@ -231,7 +231,7 @@ function SVGElement() { *他のブラウザではECMAの仕様にしたがっているようなので、IEだけの問題であることに注意 */ eval("document._s = (function(evt){" +evt.newValue+ "})"); - var v = name.slice(-2); + var v = name.substring(2, name.length); if (v === "load") { v = "SVGLoad"; } else if (v === "unload") { -- 2.11.0