]> source.dussan.org Git - jquery-ui.git/commitdiff
Widget: Remove copy-pasta leftovers 939/head
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 19 Mar 2013 16:53:09 +0000 (17:53 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 19 Mar 2013 16:53:09 +0000 (17:53 +0100)
tests/unit/widget/widget_core.js

index f9a6a456d51f7f20339cfcf4dae3ea786a62dbad..0d97742ffcbff7951cc662a19b2e989a6b176355 100644 (file)
@@ -627,12 +627,10 @@ test( ".widget() - overriden", function() {
 
 test( ".instance()", function() {
        expect( 2 );
-       var div,
-               _test = function() {};
+       var div;
 
        $.widget( "ui.testWidget", {
-               _create: function() {},
-               _test: _test
+               _create: function() {}
        });
 
        div = $( "<div>" );