johnnykrisma/drupalleavenotice — pull request #1 by matt-mendonca (2014-07-16 00:05:53+00:00)
Title: Example custom js file

Didn't actually try running this in drupal, but this should work. The first commit shows the jquery ready way, the second shows the drupal behavior way (they work the same until ajax is involved).