[Sie-announce] SIEコード [2410] beta版の修正を追加

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 2月 15日 (火) 23:22:41 JST


Revision: 2410
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2410
Author:   dhrname
Date:     2011-02-15 23:22:41 +0900 (Tue, 15 Feb 2011)

Log Message:
-----------
beta版の修正を追加

Modified Paths:
--------------
    trunk/sie.js

Property Changed:
----------------
    trunk/sie.js

Modified: trunk/sie.js
===================================================================
--- trunk/sie.js	2011-02-15 14:20:29 UTC (rev 2409)
+++ trunk/sie.js	2011-02-15 14:22:41 UTC (rev 2410)
@@ -1122,10 +1122,6 @@
 function DocumentEvent() {
   return this;
 }*/
-/*_date_プロパティは、createEventメソッドで使われるために、
- *あらかじめ、Dateオブジェクトを作成しておいて、それを入れるプロパティ
- */
-Document.prototype._date_ = new Date();
 /*Event*/ Document.prototype.createEvent = function( /*string*/ eventType) {
   var evt;
   if (eventType === "MutationEvents") {
@@ -1142,7 +1138,7 @@
     evt =  new Event();
   }
   evt.type = eventType;
-  evt.timeStamp = this._date_.getTime();
+  evt.timeStamp = +(new Date());
   return evt;
 };
 
@@ -4026,16 +4022,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);
@@ -4720,7 +4717,7 @@
       for (var i=0, dli=dd.length;i<dli;++i) {
         D[i] = dd[i].match(sgs);
         for (var j=1, dili=D[i].length;j<dili;++j) {
-          D[i][j] = (D[i][j]) | 0;
+          D[i][j] = +(D[i][j]);
         }
       }
       sgs = dd = null;


Property changes on: trunk/sie.js
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/04x/040/sie.js:812-829
/branches/04x/041/sie.js:891-923
/branches/04x/042/sie.js:927-967
/branches/04x/043/sie.js:969-1013
/branches/04x/044/sie.js:1015-1067
/branches/04x/045/sie.js:1069-1078
/branches/04x/046/sie.js:1080-1129
/branches/04x/047/sie.js:1131-1164
/branches/04x/048/sie.js:1166-1180
/branches/04x/sie.js:830-1181
/branches/05x/050/sie.js:1183-1201
/branches/05x/051/sie.js:1207-1323
/branches/05x/052/sie.js:1325-1352
/branches/05x/053/sie.js:1354-1400
/branches/05x/054/sie.js:1403-1422
/branches/05x/055/sie.js:1424-1454
/branches/05x/056/sie.js:1456-1491
/branches/05x/057/sie.js:1496-1523
/branches/05x/058/sie.js:1526-1590
/branches/05x/sie.js:1183-1594
/branches/06x/060/sie.js:1603-1850
/branches/06x/sie.js:1599-2355
/branches/07x/sie.js:2357-2390
   + /branches/04x/040/sie.js:812-829
/branches/04x/041/sie.js:891-923
/branches/04x/042/sie.js:927-967
/branches/04x/043/sie.js:969-1013
/branches/04x/044/sie.js:1015-1067
/branches/04x/045/sie.js:1069-1078
/branches/04x/046/sie.js:1080-1129
/branches/04x/047/sie.js:1131-1164
/branches/04x/048/sie.js:1166-1180
/branches/04x/sie.js:830-1181
/branches/05x/050/sie.js:1183-1201
/branches/05x/051/sie.js:1207-1323
/branches/05x/052/sie.js:1325-1352
/branches/05x/053/sie.js:1354-1400
/branches/05x/054/sie.js:1403-1422
/branches/05x/055/sie.js:1424-1454
/branches/05x/056/sie.js:1456-1491
/branches/05x/057/sie.js:1496-1523
/branches/05x/058/sie.js:1526-1590
/branches/05x/sie.js:1183-1594
/branches/06x/060/sie.js:1603-1850
/branches/06x/sie.js:1599-2355
/branches/07x/sie.js:2357-2409




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