svnno****@sourc*****
svnno****@sourc*****
2011年 10月 3日 (月) 23:36:58 JST
Revision: 2973 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2973 Author: dhrname Date: 2011-10-03 23:36:58 +0900 (Mon, 03 Oct 2011) Log Message: ----------- dispatchEventメソッドにかかわるバッファが増大する問題を修正して軽量化 Modified Paths: -------------- branches/08x/086/org/w3c/dom/events.js branches/08x/086/org/w3c/dom/svg.js Modified: branches/08x/086/org/w3c/dom/events.js =================================================================== --- branches/08x/086/org/w3c/dom/events.js 2011-10-02 11:58:53 UTC (rev 2972) +++ branches/08x/086/org/w3c/dom/events.js 2011-10-03 14:36:58 UTC (rev 2973) @@ -158,9 +158,6 @@ /*以下では、画像の処理に時間がかかりそうな場合、処理落ちとして、遅延処理 *を行い、バッファリングにイベント送付処理をためていく作業となる */ - if (evt.type === "SVGLoad") { - td._isLoaded = 1; - } if (!td._limit_time_) { td._limit_time_ = etime; } else if ((etime - td._limit_time_) > 1000) { Modified: branches/08x/086/org/w3c/dom/svg.js =================================================================== --- branches/08x/086/org/w3c/dom/svg.js 2011-10-02 11:58:53 UTC (rev 2972) +++ branches/08x/086/org/w3c/dom/svg.js 2011-10-03 14:36:58 UTC (rev 2973) @@ -1898,6 +1898,7 @@ tis = void 0; } } + s._isLoaded = 1; //_isLoadedプロパティはevents::dispatchEventメソッドで使う s.defaultView._cache = s.defaultView._cache_ele = null; oba = _doc = evt = ndoc = objei = tar = tview = objw = objh = n = att = sdt = sp = dcp = backr = sw = sh = style = fontSize = void 0; trstyle = tpstyle = backrs = text = texti = i = bfl = bft = bl = bt = text = _parseFloat = w = h = viewWidth = viewHeight = backdown = backright = void 0;