I was working on implementing the media library within one of my plugins/themes. I found a nice tutorial (http://mikejolley.com/2012/12/using-the-new-wordpress-3-5-media-uploader-in-plugins/) that showed me how to do this using the JS object ‘wp’
I can’t seem to find any documentation on this in the codex or when Googling. How does one learn this object and its methods?
http://codex.wordpress.org/Javascript_Reference/wp
It’s a work in progress. Contribute if you can!
Since there is still no real documentation in codex/developer docs, the only way is WordPress Trac:
https://core.trac.wordpress.org/browser/trunk#src/js/_enqueues/wp
All components are at least commented and each file has a header with a description.