diff options
Diffstat (limited to 'test/unit/callbacks.js')
-rw-r--r-- | test/unit/callbacks.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/callbacks.js b/test/unit/callbacks.js index c549df716..2bc5c92d6 100644 --- a/test/unit/callbacks.js +++ b/test/unit/callbacks.js @@ -209,14 +209,14 @@ test( "jQuery.Callbacks( options ) - options are copied", function() { expect( 1 ); var options = { - unique: true + "unique": true }, cb = jQuery.Callbacks( options ), count = 0, fn = function() { ok( !( count++ ), "called once" ); }; - options.unique = false; + options["unique"] = false; cb.add( fn, fn ); cb.fire(); }); |