$.subclass has no root functions
While a subclassed item has it's own copy of $.fn, root functions such as $.each aren't copied.
This explains it best: http://jsfiddle.net/danheberden/RhwE4/
A quick summary:
var $sub = $.subclass();
typeof $.each; // "function"
typeof $sub.each // "undefined"
Change History (7)
Component: |
unfiled →
core
|
Summary: |
$.subclass has not root functions →
$.subclass has no root functions
|
Cc: |
wycats added
|
Priority: |
undecided →
high
|
Resolution: |
→ duplicate
|
Status: |
new →
closed
|
Cc: |
wycats removed
|
Milestone: |
1.next →
1.5
|
Priority: |
high →
blocker
|
Also check the related #7979