From: dhrname Date: Tue, 22 Jul 2014 11:25:12 +0000 (+0900) Subject: sie-uncompressed.jsの文字コードをBOM付きに変更 X-Git-Tag: ver16.0~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4d8eb27d7428be7670b0a6ddc92ecc4893213611;p=sie%2Fsie.git sie-uncompressed.jsの文字コードをBOM付きに変更 --- diff --git a/ChangeLog.txt b/ChangeLog.txt index 740d1f1..6e0bde8 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,4 +1,4 @@ -2014-7-10 version 16beta (Commit: 52caabde4cb865c37f7305c69a266663e91035d1) +2014-7-22 version 16 (Commit: 52caabde4cb865c37f7305c69a266663e91035d1) 1, オブジェクト指向の支援ライブラリとしてbase.jsを実装 2, SIEのコードをbase.jsを使って書き換えて、軽量化 3, replaceChildメソッドの型チェックをはずす diff --git a/org/sie-uncompressed.js b/org/sie-uncompressed.js index 4f14b3c..eff06ff 100755 --- a/org/sie-uncompressed.js +++ b/org/sie-uncompressed.js @@ -1,4 +1,4 @@ -/*!SIE-SVG without Plugin under LGPL2.1 & GPL2.0 & Mozilla Public License +/*!SIE-SVG without Plugin under LGPL2.1 & GPL2.0 & Mozilla Public License *http://sie.sourceforge.jp/ *Usage: */ @@ -1862,7 +1862,7 @@ CSSStyleDeclaration.prototype = { for (var i=0,tl=this._list,tli=tl.length;i -1) { //プロパティ名に合致するCSSValueオブジェクトが見つかった場合 + if (tc.indexOf(propertyName) > -1) { //プロパティ名に合致するCSSValueオブジェクトが見つかった場合 ti._empercents = tl._fontSize; i = tl = tli = tc = prop = propertyName = void 0; return ti; @@ -1926,8 +1926,8 @@ CSSStyleDeclaration.prototype = { *CSSPrimitiveValueオブジェクトとSVGPaintオブジェクトを最後に置き換える */ ti = tg ? tg : new SVGPaint(); - paintType = - (this._isRS[value.charAt(0)] || ti._keywords[value]) ? + paintType = + (this._isRS[value.charAt(0)] || ti._keywords[value]) ? /*SVGPaint.SVG_PAINTTYPE_RGBCOLOR*/ 1 : (value === "none") ? /*SVGPaint.SVG_PAINTTYPE_NONE*/ 101 @@ -2371,7 +2371,7 @@ base("$document").defaultView = base("$viewCSS").mix({ } else if (css._ex) { n *= css._ex * 0.5; } else if (css["_%"]) { - n *= css["_%"] / 100; + n *= css["_%"] / 100; } css.cssText = "font-size:" +n+ "px"; } @@ -2522,8 +2522,8 @@ function TimeEvent() { }; TimeEvent.counstructor = Event; TimeEvent.prototype = Object._create(Event); -/*void*/ TimeEvent.prototype.initTimeEvent = function(/*DOMString*/ typeArg, - /*views::AbstractView*/ viewArg, +/*void*/ TimeEvent.prototype.initTimeEvent = function(/*DOMString*/ typeArg, + /*views::AbstractView*/ viewArg, /*long*/ detailArg) { this.type = typeArg; this.view = viewArg;