zurb/foundation — pull request #642 by bigwheel (2012-07-15 05:12:35+00:00)
Title: fix the bug when an alert-box is added after init

when '$(".alert-box")' is used, its delegate don't apply alert-boxes what added
after page initialize. Specifically, if a alert-box is inserted by the button
click event, the alert-box cannot close if you click X.
To fix this problem, first selector use 'document' and delegate selector use
'.alert-box a.close'. In addition, after jQuery v1.7 .on() should be used
instead of .delegate(). It is also fixed.