]> source.dussan.org Git - jquery.git/commit
Makes sure "adding" a string to a Callbacks object doesn't cause a stack overflow...
authorjaubourg <j@ubourg.net>
Thu, 16 Aug 2012 17:12:59 +0000 (19:12 +0200)
committerjaubourg <j@ubourg.net>
Thu, 16 Aug 2012 17:12:59 +0000 (19:12 +0200)
commit9d07525a71e7bc12f606d8015d21425c5580e262
treec10b8a4d577ac21e8bafef17f6dbb174402e734d
parentb292c4c2df673d17d8c720e13d4d81ecae4ec499
Makes sure "adding" a string to a Callbacks object doesn't cause a stack overflow, just ignore the value like 1.7.x righfully did. Fixes #12233. Unit tests added.
src/callbacks.js
test/unit/callbacks.js