diff options
author | jeresig <jeresig@gmail.com> | 2011-01-31 08:21:42 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2011-01-31 08:21:42 -0500 |
commit | 749d41f7de7f83f0096e76ed8bf5f78cbc972e03 (patch) | |
tree | 9ea0cd3f534c9394fc6efe391937417410c690fd /test | |
parent | d2384ad03a058370cc5978adaec5691fdee323bb (diff) | |
download | jquery-749d41f7de7f83f0096e76ed8bf5f78cbc972e03.tar.gz jquery-749d41f7de7f83f0096e76ed8bf5f78cbc972e03.zip |
Rename jQuery.subclass() to jQuery.sub().
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/core.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index 24de5c9a8..2c9a5ea10 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1129,9 +1129,9 @@ test("jQuery.when() - joined", function() { }); }); -test("jQuery.subclass", function(){ +test("jQuery.sub() - Static Methods", function(){ expect(18); - var Subclass = jQuery.subclass(); + var Subclass = jQuery.sub(); Subclass.extend({ topLevelMethod: function() {return this.debug;}, debug: false, @@ -1151,7 +1151,7 @@ test("jQuery.subclass", function(){ equal(jQuery.ajax, Subclass.ajax, 'The subclass failed to get all top level methods'); //Create a SubSubclass - var SubSubclass = Subclass.subclass(); + var SubSubclass = Subclass.sub(); //Make Sure the SubSubclass inherited properly ok(SubSubclass.topLevelMethod() === false, 'SubSubclass.topLevelMethod thought debug was true'); @@ -1178,11 +1178,11 @@ test("jQuery.subclass", function(){ equal(jQuery.ajax, Subclass.ajax, 'The subclass failed to get all top level methods'); }); -test("jQuery.subclass()", function(){ +test("jQuery.sub() - .fn Methods", function(){ expect(378); - var Subclass = jQuery.subclass(), - SubclassSubclass = Subclass.subclass(), + var Subclass = jQuery.sub(), + SubclassSubclass = Subclass.sub(), jQueryDocument = jQuery(document), selectors, contexts, methods, method, arg, description; |