From: dhrname Date: Thu, 16 Feb 2017 13:30:05 +0000 (+0900) Subject: Override the isKeyError method on the X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=74fddba3fd66506825f5c3e2822e8b8299d9712c;p=sie%2Fsie.git Override the isKeyError method on the --- diff --git a/org/w3c/dom/smil.js b/org/w3c/dom/smil.js index bebf326..a3e9d8b 100644 --- a/org/w3c/dom/smil.js +++ b/org/w3c/dom/smil.js @@ -2075,13 +2075,19 @@ base("$calcMode").up("$attribute").mix( { /*setValuesメソッドのオーバライド*/ setValues: function() { var keyPoints = this.getAttr("keyPoints", null), - superSetValues = this.$setElement.setValues; + superSetValues = this.$animateElement.setValues; if (keyPoints) { return superSetValues.call(this, keyPoints); } else { return superSetValues.apply(this, arguments); } - } + }, + + /*isKeyErrorメソッドのオーバライド + *keyPoints属性があれば、処理するようにする*/ + isKeyError: function() { + return !!this.getAttr("keyPoints", false) || this.$animateElement.isKeyError.apply(this, arguments); + }, } ) .on("init", function (ele) { if (!ele || !ele.parentNode) {