Automattic/jetpack — pull request #1331 by zinigor (2014-11-25 13:04:32+00:00)
Title: Likes: Moved the call to enqueue_scripts into the action body

Previously the enqueue_scripts method had been called in a separate action where `in_the_loop` could return false and break script enqueueing. Now the scripts are enqueued when the rest of the like widget markup is generated.