[Sie-announce] SIEコード [2675] prevメソッドに対して、文法エラーをやめて、空文字を返すように変更

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 5月 15日 (日) 22:26:42 JST


Revision: 2675
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2675
Author:   dhrname
Date:     2011-05-15 22:26:42 +0900 (Sun, 15 May 2011)

Log Message:
-----------
prevメソッドに対して、文法エラーをやめて、空文字を返すように変更

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

Modified: branches/07x/077/org/w3c/dom/css.js
===================================================================
--- branches/07x/077/org/w3c/dom/css.js	2011-05-14 14:59:21 UTC (rev 2674)
+++ branches/07x/077/org/w3c/dom/css.js	2011-05-15 13:26:42 UTC (rev 2675)
@@ -704,7 +704,7 @@
   var t = this.charAt(this._number);
   --this._number;
   if (ch && (ch !== t)) {
-    throw new Error("文法エラー(Syntax Error)")
+    return "";
   } else {
     return t;
   }




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