[Sie-announce] SIEコード [2408] バッファリングが空の場合は、処理を実行させないように修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 2月 15日 (火) 20:03:29 JST


Revision: 2408
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2408
Author:   dhrname
Date:     2011-02-15 20:03:29 +0900 (Tue, 15 Feb 2011)

Log Message:
-----------
バッファリングが空の場合は、処理を実行させないように修正

Modified Paths:
--------------
    branches/07x/org/w3c/dom/svg.js

Property Changed:
----------------
    branches/07x/org/w3c/dom/svg.js

Modified: branches/07x/org/w3c/dom/svg.js
===================================================================
--- branches/07x/org/w3c/dom/svg.js	2011-02-15 11:02:10 UTC (rev 2407)
+++ branches/07x/org/w3c/dom/svg.js	2011-02-15 11:03:29 UTC (rev 2408)
@@ -1699,16 +1699,17 @@
           NAIBU._buff = setInterval(function(){
             if (DOMImplementation._buffer_.length === 0) {
               clearInterval(Event._buff);              
-            }
-            for (var i=0;i<50;++i) {
-              var s = DOMImplementation._buffer_.shift(), evt = DOMImplementation._buffer_.shift();
-              s.dispatchEvent(evt);
-              s = evt = null;
-              if (!DOMImplementation._buffer_[1]) {
-                clearInterval(NAIBU._buff);
-                DOMImplementation._buffer_ = null;
-                NAIBU.Time.start();
-                return;
+            } else {
+              for (var i=0;i<50;++i) {
+                var s = DOMImplementation._buffer_.shift(), evt = DOMImplementation._buffer_.shift();
+                s.dispatchEvent(evt);
+                s = evt = null;
+                if (!DOMImplementation._buffer_[1]) {
+                  clearInterval(NAIBU._buff);
+                  DOMImplementation._buffer_ = null;
+                  NAIBU.Time.start();
+                  return;
+                }
               }
             }
           }, 1);


Property changes on: branches/07x/org/w3c/dom/svg.js
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/06x/061/org/w3c/dom/svg.js:1864-2067
/branches/06x/062/org/w3c/dom/svg.js:2071-2106
/branches/06x/063/org/w3c/dom/svg.js:2110-2146
/branches/06x/064/org/w3c/dom/svg.js:2149-2177
/branches/06x/065/org/w3c/dom/svg.js:2179-2209
/branches/06x/066/org/w3c/dom/svg.js:2211-2239
/branches/06x/067/org/w3c/dom/svg.js:2257-2282
/branches/06x/068/org/w3c/dom/svg.js:2284-2314
/branches/06x/069/org/w3c/dom/svg.js:2317-2352
/branches/06x/org/w3c/dom/svg.js:1861-2353
/branches/07x/070/org/w3c/dom/svg.js:2363-2383
/branches/07x/071/org/w3c/dom/svg.js:2385-2405
/branches/ufltima/dom/svg.js:1621-1856
   + /branches/06x/061/org/w3c/dom/svg.js:1864-2067
/branches/06x/062/org/w3c/dom/svg.js:2071-2106
/branches/06x/063/org/w3c/dom/svg.js:2110-2146
/branches/06x/064/org/w3c/dom/svg.js:2149-2177
/branches/06x/065/org/w3c/dom/svg.js:2179-2209
/branches/06x/066/org/w3c/dom/svg.js:2211-2239
/branches/06x/067/org/w3c/dom/svg.js:2257-2282
/branches/06x/068/org/w3c/dom/svg.js:2284-2314
/branches/06x/069/org/w3c/dom/svg.js:2317-2352
/branches/06x/org/w3c/dom/svg.js:1861-2353
/branches/07x/070/org/w3c/dom/svg.js:2363-2383
/branches/07x/071/org/w3c/dom/svg.js:2385-2407
/branches/ufltima/dom/svg.js:1621-1856




Sie-announce メーリングリストの案内
Back to archive index