macdonst/callback-js — comment on commit 743ae59bd436eaa11a5311d8ae86e40dc32eae59
File: lib/plugin/capture.js line 53
By filmaj:

Instead of putting this on the prototype we can have it as a top-level function in this file (it'll be hid via closure at build-time anyways). This way if people inspect the `navigator.capture` object they won't see a juicy, undocumented `_capture` function.