OSDN Git Service

New object
authordhrname <dhrname@users.sourceforge.jp>
Sat, 24 Jan 2015 14:25:43 +0000 (23:25 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Sat, 24 Jan 2015 14:25:43 +0000 (23:25 +0900)
org/w3c/dom/smil.js

index 32d5c82..232aad5 100644 (file)
@@ -187,7 +187,25 @@ base("$frame").mix ( {
       ++j;\r
     }\r
   }\r
-} );\r
+} ).mix( function(_) {\r
+  /*文字列から時間をパースして計算する*/\r
+  _.up("$time").of( {\r
+    ms: _.up("$ms"),\r
+    sec: _.up("$sec"),\r
+    hours: _.up("$hours"),\r
+    \r
+    call: function() {\r
+      return this.hours + this.sec + this.ms;\r
+    }\r
+  } );\r
   \r
-\r
+  /*$beginオブジェクト\r
+   * 開始のタイミングを計算する*/\r
+  _.up("$begin").mix(\r
+  );\r
+} );\r
+/*$presentvalue オブジェクト\r
+ * 呈示値 (presentation value)の計算をする。値そのものを返すためのオブジェクト*/\r
+base("$presentvalue").mix( {\r
+} );\r
 //#endif // _SMIL_IDL_\r