Fetches sample code from http://github.com/jasonkneen/ti-code-templates
(PRs into the templates repo welcome!)
Install from Atom -- search for "Ti-Code-Fetch" or run from the Terminal:
apm install ti-code-fetch
and restart Atom.
or the "open-camera.js" template:
then select the text and hit the shortcut key (Control+Option+H) -- and it'll be replaced with the code sample.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.