define(["log","ptp.js/ptp"],function(e,t){"use strict";var n;n=function(){t.capture({storageId:0,objectFormatCode:0,onSuccess:function(){e.append("Capturing finished")},onFailure:function(){e.appendError("Capturing failed")}}),e.append("Capturing…")},document.querySelector("section.capture button").onclick=n});