OSDN Git Service

dispose関数の追加
[mimic/MiMicSDK.git] / misc / mbedJS / mbddJS.API / mbedJS / mbed.PortOut.js
index 0f460ea..ce40749 100644 (file)
@@ -202,6 +202,15 @@ CLASS.prototype=
                }catch(e){\r
                        throw new MI.MiMicException(e);\r
                }\r
+       },\r
+       /**\r
+        * MCUに生成されているオブジェクトを破棄します。\r
+        * @name mbedJS.PortOut#dispose\r
+        * @function\r
+        */\r
+       dispose:function PortOut_dispose()\r
+       {\r
+               return this._mcu._dispose.apply(this,arguments);\r
        }\r
 }\r
 NS.PortOut=CLASS;\r