Automattic/_s — pull request #31 by kovshenin (2012-08-14 05:39:07+00:00)
Title: Don't use $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.