Automattic/_s — pull request #32 by kovshenin (2012-08-14 06:09:10+00:00)
Title: No need for the $post global in _s_scripts()

The wp_attachment_is_image() function will figure out the $post global internally, does not require one to be passed. Makes _s_scripts look cleaner.