[Sie-announce] SIEコード [1497]

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 12月 24日 (木) 21:22:48 JST


Revision: 1497
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1497
Author:   dhrname
Date:     2009-12-24 21:22:48 +0900 (Thu, 24 Dec 2009)

Log Message:
-----------


Modified Paths:
--------------
    branches/05x/057/sie.js

Property Changed:
----------------
    branches/05x/057/sie.js

Modified: branches/05x/057/sie.js
===================================================================
--- branches/05x/057/sie.js	2009-12-24 12:21:12 UTC (rev 1496)
+++ branches/05x/057/sie.js	2009-12-24 12:22:48 UTC (rev 1497)
@@ -589,20 +589,18 @@
   return this;
 };
 (function (){
-  var a = /\s*([A-DF-Z])/gi,
-      b = /^\],/,
-      c = /\s*$/,
-      d = /[\s,]{2,}|\s/g,
-      e = /([\d.])-/g;
+  var a =  /^\],/,
+      b = /\s*$/,
+      c = /[\s,]{2,}|\s/g;
 STPath.prototype.set = function ( /*float*/ w, /*float*/ h) {
   var dat = "";
   try {
     var dd = this.d
-      .replace(a, '],["$1" ') //convert to JSON array
-      .replace(b, "[")
-      .replace(c, "]]")
-      .replace(d, ",")
-      .replace(e, "$1,-");
+      .replace(/\s*([A-DF-Z])/gi, '],["$1" ') //convert to JSON array
+      .replace(a, "[")
+      .replace(b, "]]")
+      .replace(c, ",")
+      .replace(/([\d.])-/g, "$1,-");
     var D = eval('('+dd+')'); //ここまでd属性のパーサ
     var ttm = this.transformable;
     var preCom;


Property changes on: branches/05x/057/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/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/sie.js:1496




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