diff options
Diffstat (limited to 'test/jQueryPatchSpec.js')
| -rw-r--r-- | test/jQueryPatchSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jQueryPatchSpec.js b/test/jQueryPatchSpec.js index 0680a0c3..0efbb8d1 100644 --- a/test/jQueryPatchSpec.js +++ b/test/jQueryPatchSpec.js @@ -14,8 +14,8 @@ if (window.jQuery) { spy1 = jasmine.createSpy('span1.$destroy'); spy2 = jasmine.createSpy('span2.$destroy'); doc = $('<div><span class=first>abc</span><span class=second>xyz</span></div>'); - doc.find('span.first').bind('$destroy', spy1); - doc.find('span.second').bind('$destroy', spy2); + doc.find('span.first').on('$destroy', spy1); + doc.find('span.second').on('$destroy', spy2); }); afterEach(function() { |
