0

私は数年間Googleクロージャーコンパイラを使用していますが、実際のクロージャーライブラリをあまり試していません。

アプリをコンパイルすると、次の警告が表示されます。参照されるコードは、私のファイルではなく、ライブラリ自体にあります。それらを修正するために何かをすべきか、それともクロージャーライブラリの寄稿者がそれを行うのを待つべきか疑問に思っています。

/Users/Jan/.../closure-library/closure/goog/dom/dom.js:673:
  WARNING - Property type never defined on attributes
      delete attributes.type;
             ^

/Users/Jan/.../closure-library/closure/goog/dom/dom.js:2396:
  WARNING - assignment to property getFrameContentDocument of goog.dom.DomHelper.prototype
found   : function ((Element|null)): Document
required: function (this:goog.dom.DomHelper, (HTMLFrameElement|HTMLIFrameElement|null)): HTMLDocument
goog.dom.DomHelper.prototype.getFrameContentDocument =
^

/Users/Jan/.../closure-library/closure/goog/fx/animation.js:255:
  WARNING - mismatch of the stop property type and the type of the property it overrides from superclass goog.fx.TransitionBase
original: function (this:goog.fx.TransitionBase, boolean=): ?
override: function (this:goog.fx.Animation, boolean): ?
goog.fx.Animation.prototype.stop = function(gotoEnd) {
^

私が知る限り、何も壊れません。警告は1つのプロジェクトだけでは表示されませんが、私はすべてのプロジェクトで同じようにライブラリを使用します。

4

0 に答える 0